]> The Tcpdump Group git mirrors - libpcap/commitdiff
also fix Linux compiling with Bluetooth support
authorDenis Ovsienko <[email protected]>
Thu, 30 Jun 2016 12:57:54 +0000 (13:57 +0100)
committerDenis Ovsienko <[email protected]>
Thu, 30 Jun 2016 12:57:54 +0000 (13:57 +0100)
pcap-bt-linux.c
pcap-bt-monitor-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);
 
index 1afbf5345cbb00a41169bf29b2710cc3cccc135f..09abbe5c8c3a14bd71c1031dfed9d0b57e8c7caa 100644 (file)
@@ -242,7 +242,7 @@ bt_monitor_create(const char *device, char *ebuf, int *is_ours)
     }
 
     *is_ours = 1;
-    p = pcap_create_common(device, ebuf, 0);
+    p = pcap_create_common(ebuf, 0);
     if (p == NULL)
         return NULL;