]> The Tcpdump Group git mirrors - libpcap/commit
Do the check for a valid direction value in pcap_setdirection().
authorGuy Harris <[email protected]>
Sun, 10 Nov 2019 03:44:33 +0000 (19:44 -0800)
committerGuy Harris <[email protected]>
Sun, 10 Nov 2019 03:44:33 +0000 (19:44 -0800)
commitddbd32822b39dd2a5fb452cc1a7e9f5dd351b507
tree0e83feecedc32ff0912ff571f197cc1e25fe62de
parentc24390ab35367e76970006e8a5cf327efabd7f1c
Do the check for a valid direction value in pcap_setdirection().

That way, we don't have to do the check in the individual setdirection
op routines.
pcap-bpf.c
pcap-bt-linux.c
pcap-linux.c
pcap-usb-linux.c
pcap.c