]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-null.c
pcap_create_interface() needs the interface name on Linux.
[libpcap] / pcap-null.c
index af46b8c7a280e14533d5297b8766b58fa436b0f5..b5fa3ab91fabfc576a22796e402ab9728ecd6d8b 100644 (file)
@@ -36,7 +36,7 @@
 static char nosup[] = "live packet capture not supported on this system";
 
 pcap_t *
-pcap_create_interface(char *ebuf)
+pcap_create_interface(const char *device _U_, char *ebuf)
 {
        (void)strlcpy(ebuf, nosup, PCAP_ERRBUF_SIZE);
        return (NULL);