aboutsummaryrefslogtreecommitdiff
path: root/pcap-snit.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcap-snit.c')
-rw-r--r--pcap-snit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcap-snit.c b/pcap-snit.c
index f7e70ed7..ae8dd8bd 100644
--- a/pcap-snit.c
+++ b/pcap-snit.c
@@ -431,11 +431,11 @@ pcap_activate_snit(pcap_t *p)
}
pcap_t *
-pcap_create_interface(const char *device, char *ebuf)
+pcap_create_interface(char *ebuf)
{
pcap_t *p;
- p = pcap_create_common(device, ebuf, sizeof (struct pcap_snit));
+ p = pcap_create_common(ebuf, sizeof (struct pcap_snit));
if (p == NULL)
return (NULL);