]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-bt-linux.c
pcap_create_interface() needs the interface name on Linux.
[libpcap] / pcap-bt-linux.c
index 7173805aff0a18a29fe2d70e80e2bacb5f6d0696..4452fe44e3796da9ceb02b5918abaa4a1ad344e2 100644 (file)
@@ -171,7 +171,7 @@ bt_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_bt));
+       p = pcap_create_common(ebuf, sizeof (struct pcap_bt));
        if (p == NULL)
                return (NULL);