diff options
author | Guy Harris <gharris@sonic.net> | 2021-04-29 11:35:07 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2021-04-29 11:35:07 -0700 |
commit | cdcc34ad751d5aa5998d5af7cbfce9f4cb440a97 (patch) | |
tree | 4931c3e29e8754fc77bbef646bc80861eea69b7e /pcap-int.h | |
parent | bc8f2a990efc517bd777d04fda36925b61fdeaa4 (diff) |
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.
Diffstat (limited to 'pcap-int.h')
-rw-r--r-- | pcap-int.h | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -350,17 +350,6 @@ struct pcap { * BPF code generation flags. */ #define BPF_SPECIAL_VLAN_HANDLING 0x00000001 /* special VLAN handling for Linux */ -/* - * Interface Error Codes - * It is likely that there are other devices which throw spurious errors, at which point - * this will need refactoring to efficiently check against a list, but for now we can just - * check this one value. - */ -#define NPF_SURFACE_MOBILE_NONPROMISC 0xe00000bb -/* Attempting to set non-promiscuous mode on a noncompliant Microsoft Surface Pro - * Mobile Broadband Adapter returns an error that can safely be ignored, as it's - * always in non-promiscuous mode. - */ /* * This is a timeval as stored in a savefile. |