]> The Tcpdump Group git mirrors - libpcap/commit
Move NPF_SURFACE_MOBILE_NONPROMISC to pcap-npf.c.
authorGuy Harris <[email protected]>
Thu, 29 Apr 2021 18:35:07 +0000 (11:35 -0700)
committerGuy Harris <[email protected]>
Wed, 12 May 2021 08:11:24 +0000 (01:11 -0700)
commit6deed0abb9ef7a186cedf9fbbdd412fe280a69ef
tree81754fcb6724f0380eeb87f08aee35bc48ed9f59
parentd38ff03710b05f72741ceb8175b013d8eb1e4270
Move NPF_SURFACE_MOBILE_NONPROMISC to pcap-npf.c.

It's an error code seen only for NPF devices, so move it there.

While we're at it, make only one GetLastError() call for the case that
can get that error.

(cherry picked from commit cdcc34ad751d5aa5998d5af7cbfce9f4cb440a97)
pcap-int.h
pcap-npf.c