]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-dlpi.c
pcap_create_interface() needs the interface name on Linux.
[libpcap] / pcap-dlpi.c
index 623c5c21854cf0544730ae2ecb7a963730814ceb..075d0cb3786455194d71fd0164250bb65c0d83dd 100644 (file)
@@ -1812,7 +1812,7 @@ dlpi_kread(register int fd, register off_t addr,
 #endif
 
 pcap_t *
-pcap_create_interface(char *ebuf)
+pcap_create_interface(const char *device _U_, char *ebuf)
 {
        pcap_t *p;
 #ifdef DL_HP_RAWDLS