]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-npf.c
Note that ERROR_NO_SUCH_DEVICE is an error that can come from packet.dll.
[libpcap] / pcap-npf.c
index de02d6181b640b4dca5cb590c3015dd74641b1a6..dc16526043bc4dade5df444590d232a29bc53ca0 100644 (file)
@@ -952,6 +952,11 @@ pcap_activate_npf(pcap_t *p)
                if (errcode == ERROR_BAD_UNIT) {
                        /*
                         * There's no such device.
+                        *
+                        * XXX - what about ERROR_NO_SUCH_DEVICE?  That's
+                        * 433, and in at least some cases users are
+                        * getting that error when trying to open the
+                        * loopback adapter; see issue nmap/nmap/#1948.
                         */
                        return (PCAP_ERROR_NO_SUCH_DEVICE);
                } else {