]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-pf.c
From Yoann Vandoorselaere <[email protected]>: make the "device"
[libpcap] / pcap-pf.c
index 22b22c292d03cdb099ef4df0d9ada7f843f29161..8b53840d1360552402f57e680b66190fb0a425c8 100644 (file)
--- a/pcap-pf.c
+++ b/pcap-pf.c
@@ -24,7 +24,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/libpcap/pcap-pf.c,v 1.70 2002-12-19 09:05:47 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/pcap-pf.c,v 1.71 2002-12-22 02:36:50 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -238,7 +238,8 @@ pcap_stats(pcap_t *p, struct pcap_stat *ps)
 }
 
 pcap_t *
-pcap_open_live(char *device, int snaplen, int promisc, int to_ms, char *ebuf)
+pcap_open_live(const char *device, int snaplen, int promisc, int to_ms,
+    char *ebuf)
 {
        pcap_t *p;
        short enmode;