Thank you! On Mon, Jun 16, 2014 at 10:36 PM, Alfredo Cardigliano <cardigli...@ntop.org> wrote: > Fixed in SVN, thank you for reporting. > > Alfredo > > On 16 Jun 2014, at 10:48, Pavel Odintsov <pavel.odint...@gmail.com> wrote: > >> Hello! >> >> I'm used pfring_open in my code and found very strange behaviour with >> errno variable. >> >> printf("pf_handle: %p strerror: %s errno: %d\n", pf_ring_descr, >> strerror(errno), errno); >> pf_ring_descr = pfring_open(dev, snaplen, flags); >> printf("pf_handle: %p strerror: %s errno: %d\n", pf_ring_descr, >> strerror(errno), errno); >> >> This snippet got following output: >> pf_handle: (nil) strerror: Success errno: 0 >> pf_handle: 0x9d02e0 strerror: Operation not supported errno: 95 >> >> But after this errors al work perfectly! I suppose it's bug. If you >> need full my program code, it's here: >> https://gist.github.com/pavel-odintsov/62f372c882c83d85ed17 >> >> Sorry for duplicated messages, it's my mistake. >> >> -- >> Sincerely yours, Pavel Odintsov >> _______________________________________________ >> Ntop-misc mailing list >> Ntop-misc@listgateway.unipi.it >> http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > _______________________________________________ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
-- Sincerely yours, Pavel Odintsov _______________________________________________ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc