Re: [pmacct-discussion] [PATCH 1/2] * pmacctd: allow configuring pcap_setdirection

2020-01-24 Thread Paolo Lucente
Hi Mikhail, Many thanks for your contribution. I have slightly reviewed your patch to test libpcap for pcap_setdirection() in configure.ac (as doing it the way you did would fail compiling for older libpcap versions). See the commit log here (of course with kudos to you):

[pmacct-discussion] [PATCH 1/2] * pmacctd: allow configuring pcap_setdirection

2020-01-17 Thread Mikhail Sennikovsky
The pcap direction configuration was explicitly disabled in 81fe649917036b9ef1ed4b3ea521befcaf36496b, however even before that commit it apparently did not work, because the pcap_setdirection must be called after pcap_activate, not before it. Introduce a new config variable, pcap_set_direction to