]> The Tcpdump Group git mirrors - libpcap/commitdiff
We forgot to remove the "skip entries" part in 547b1dec.
authorGuy Harris <[email protected]>
Sat, 15 Oct 2016 19:43:23 +0000 (12:43 -0700)
committerGuy Harris <[email protected]>
Sat, 15 Oct 2016 19:43:23 +0000 (12:43 -0700)
We removed it from fad-gifc.c, but not from fad-glifc.c.

fad-glifc.c

index 5830628ba05854789c187122075e367b1f9952a3..511481cf96368bdf8edc6b30e794cba4c0e3f726 100644 (file)
@@ -173,28 +173,6 @@ pcap_findalldevs_interfaces(pcap_if_t **alldevsp, char *errbuf,
                if (strncmp(ifrp->lifr_name, "dummy", 5) == 0)
                        continue;
 
-#ifdef HAVE_SOLARIS
-               /*
-                * Skip entries that have a ":" followed by a number
-                * at the end - those are Solaris virtual interfaces
-                * on which you can't capture.
-                */
-               p = strchr(ifrp->lifr_name, ':');
-               if (p != NULL) {
-                       /*
-                        * We have a ":"; is it followed by a number?
-                        */
-                       while (isdigit((unsigned char)*p))
-                               p++;
-                       if (*p == '\0') {
-                               /*
-                                * All digits after the ":" until the end.
-                                */
-                               continue;
-                       }
-               }
-#endif
-
                /*
                 * Can we capture on this device?
                 */