[server] Ignore pcap non-blocking setting in --pcap-file mode
authorMichael Rash <mbr@cipherdyne.org>
Wed, 28 Nov 2012 03:54:55 +0000 (22:54 -0500)
committerMichael Rash <mbr@cipherdyne.org>
Wed, 28 Nov 2012 03:54:55 +0000 (22:54 -0500)
commit04e0c9b560f6dcb4136e47fec1120d61628b860e
tree2ebd95e03cf40fe11566099a9b34ba94281215a4
parent0337ae9fb66e6d33207d189856f4cf2fc0dffaa3
[server] Ignore pcap non-blocking setting in --pcap-file mode

When setting --pcap-file mode from the command line some versions of libpcap
do not appear to allow non-blocking mode to be set and throw the following
error:

[*] Error setting pcap nonblocking to 0:

This commit ignores the non-blocking setting in --pcap-file mode.
server/pcap_capture.c