]> The Tcpdump Group git mirrors - libpcap/commit
Catch modules that don't set all the function pointers.
authorGuy Harris <[email protected]>
Fri, 13 Oct 2017 21:55:26 +0000 (14:55 -0700)
committerGuy Harris <[email protected]>
Fri, 13 Oct 2017 21:55:26 +0000 (14:55 -0700)
commitc896b8a33427a00c28d78b48887898406d307de7
tree7458ec9c618e953d0f6e7264fb4b0d0046719085
parent2ba8f30f2575cbdbe1965b828e7c943711780789
Catch modules that don't set all the function pointers.

For the "not initialized" functions, check if the pcap_t is activated
and, if so, report a regular error, with an error message of "This
operation isn't properly handled by that device".  ("Properly handled"
always includes "providing a function for it, even if it fails because
that function can't work on the device".)
pcap.c