diff options
-rw-r--r-- | pcap-canusb-linux.c | 2 | ||||
-rw-r--r-- | pcap-dag.c | 2 | ||||
-rw-r--r-- | pcap-dbus.c | 2 | ||||
-rw-r--r-- | pcap-septel.c | 2 | ||||
-rw-r--r-- | pcap-snf.c | 2 | ||||
-rw-r--r-- | pcap-tc.c | 2 |
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); @@ -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; @@ -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; @@ -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; |