]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-netfilter-linux.c
refine the previous change to fix Linux builds
[libpcap] / pcap-netfilter-linux.c
index 224a9f686e1aa66f684f83f4ba00b041a5b93f7d..b1579141168aca8f568dd0d4b9d9df8cae73d5b6 100644 (file)
@@ -626,7 +626,7 @@ netfilter_create(const char *device, char *ebuf, int *is_ours)
        /* OK, it's probably ours. */
        *is_ours = 1;
 
-       p = pcap_create_common(device, ebuf, sizeof (struct pcap_netfilter));
+       p = pcap_create_common(ebuf, sizeof (struct pcap_netfilter));
        if (p == NULL)
                return (NULL);