]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-win32.c
From Yoann Vandoorselaere <[email protected]>: make the "device"
[libpcap] / pcap-win32.c
index 18001d534d1d0176f07b24737fbe43329e811c28..5a5021d22e7fe7139d5442880299ff401ba3e58c 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/libpcap/pcap-win32.c,v 1.4 2002-12-19 09:05:48 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/pcap-win32.c,v 1.5 2002-12-22 02:36:50 guy Exp $ (LBL)";
 #endif
 
 #include <pcap-int.h>
@@ -115,7 +115,8 @@ pcap_read(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
 
 
 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)
 {
        register pcap_t *p;
        NetType type;