]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-dag.c
make more pcap_create_common() fixes
[libpcap] / pcap-dag.c
index 6c5ee1cf4affef82a09ca810ca2f6724f715c362..23853b309b1ba64ef9a7bf9a401808db09eba5de 100644 (file)
@@ -1023,7 +1023,7 @@ pcap_t *dag_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_dag));
+       p = pcap_create_common(ebuf, sizeof (struct pcap_dag));
        if (p == NULL)
                return NULL;