summaryrefslogtreecommitdiff
path: root/pcap-dbus.c
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2016-06-30 14:10:54 +0100
committerDenis Ovsienko <denis@ovsienko.info>2016-06-30 14:19:10 +0100
commitf9e8924f56bcd908cf1c0a1731286b1451716ba5 (patch)
treec090bc2851c01cdb17edfd863d51b7655f1c1487 /pcap-dbus.c
parentc34bdce33cb313aa5955529cf901c8b4ad2ae197 (diff)
downloadlibpcap-f9e8924f56bcd908cf1c0a1731286b1451716ba5.tar.gz
make more pcap_create_common() fixes
* CAN bus over USB on Linux * DAG * D-Bus * Septel * SNF * TurboCap
Diffstat (limited to 'pcap-dbus.c')
-rw-r--r--pcap-dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-dbus.c b/pcap-dbus.c
index 30daba8e..c5b80dee 100644
--- a/pcap-dbus.c
+++ b/pcap-dbus.c
@@ -259,7 +259,7 @@ dbus_create(const char *device, char *ebuf, int *is_ours)
}
*is_ours = 1;
- p = pcap_create_common(device, ebuf, sizeof (struct pcap_dbus));
+ p = pcap_create_common(ebuf, sizeof (struct pcap_dbus));
if (p == NULL)
return (NULL);