]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-bpf.c
From Yoann Vandoorselaere <[email protected]>: make the "device"
[libpcap] / pcap-bpf.c
index 32a21c7b121d3426e8c6ae4c46180aec6bea6576..0a46f04b2b17c515b4bb9bfc2f1db075f1db8cd1 100644 (file)
@@ -20,7 +20,7 @@
  */
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/libpcap/pcap-bpf.c,v 1.54 2002-12-19 09:05:45 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/pcap-bpf.c,v 1.55 2002-12-22 02:36:48 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -224,7 +224,8 @@ bpf_open(pcap_t *p, char *errbuf)
  * documented).
  */
 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)
 {
        int fd;
        struct ifreq ifr;