]> The Tcpdump Group git mirrors - libpcap/commit
More pcap_setdirection() cleanups.
authorGuy Harris <[email protected]>
Fri, 8 Nov 2019 19:42:37 +0000 (11:42 -0800)
committerGuy Harris <[email protected]>
Fri, 8 Nov 2019 19:42:51 +0000 (11:42 -0800)
commit2c2c323c392980edc4a1044f08d9c2889f336dd3
treec26ce2258cbaebe9d678937bd15750736e6f786d
parent88a0f88dbe73f57b69940d1ede8d0eb375f13095
More pcap_setdirection() cleanups.

Say "...on this device" for errors; it may be the OS's capture mechanism
that doesn't support setting the direction, but there may be other
devices on the system that *do* support it.

Check the validity of the direction argument in more places.
pcap-bpf.c
pcap-bt-linux.c
pcap-linux.c
pcap-usb-linux.c
pcap.c