]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-null.c
Pass the "get additional flags" function to the findalldevs helpers.
[libpcap] / pcap-null.c
index f7e5cfbda5d93931c6cb037e8f842bcfa54a7222..92a5e2d8649b657bfbd8ce8eeb12b8eb4e9b2ec8 100644 (file)
@@ -36,15 +36,6 @@ pcap_create_interface(const char *device _U_, char *ebuf)
        return (NULL);
 }
 
-int
-get_if_flags(const char *name _U_, bpf_u_int32 *flags _U_, char *errbuf _U_)
-{
-       /*
-        * There are no interfaces, so this will never be called.
-        */
-       return (0);
-}
-
 int
 pcap_platform_finddevs(pcap_if_list_t *devlistp, char *errbuf)
 {