aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcap-canusb-linux.c2
-rw-r--r--pcap-dag.c2
-rw-r--r--pcap-dbus.c2
-rw-r--r--pcap-septel.c2
-rw-r--r--pcap-snf.c2
-rw-r--r--pcap-tc.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/pcap-canusb-linux.c b/pcap-canusb-linux.c
index 715a60d0..9a176c30 100644
--- a/pcap-canusb-linux.c
+++ b/pcap-canusb-linux.c
@@ -243,7 +243,7 @@ canusb_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_canusb));
+ p = pcap_create_common(ebuf, sizeof (struct pcap_canusb));
if (p == NULL)
return (NULL);
diff --git a/pcap-dag.c b/pcap-dag.c
index 6c5ee1cf..23853b30 100644
--- a/pcap-dag.c
+++ b/pcap-dag.c
@@ -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;
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);
diff --git a/pcap-septel.c b/pcap-septel.c
index 2d23b9c0..8e0b4a33 100644
--- a/pcap-septel.c
+++ b/pcap-septel.c
@@ -232,7 +232,7 @@ pcap_t *septel_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_septel));
+ p = pcap_create_common(ebuf, sizeof (struct pcap_septel));
if (p == NULL)
return NULL;
diff --git a/pcap-snf.c b/pcap-snf.c
index 521867ba..a72fdd88 100644
--- a/pcap-snf.c
+++ b/pcap-snf.c
@@ -467,7 +467,7 @@ snf_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_snf));
+ p = pcap_create_common(ebuf, sizeof (struct pcap_snf));
if (p == NULL)
return NULL;
ps = p->priv;
diff --git a/pcap-tc.c b/pcap-tc.c
index 60e67ca3..768dbd7c 100644
--- a/pcap-tc.c
+++ b/pcap-tc.c
@@ -758,7 +758,7 @@ TcCreate(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_tc));
+ p = pcap_create_common(ebuf, sizeof (struct pcap_tc));
if (p == NULL)
return NULL;