]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-nit.c
From Yoann Vandoorselaere <[email protected]>: make the "device"
[libpcap] / pcap-nit.c
index 5029bd75811779fa9c56b2ca2b5723aeee6659d2..f0bc8f47e8446362b33fbc18e819fe70289d011c 100644 (file)
@@ -20,7 +20,7 @@
  */
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/libpcap/pcap-nit.c,v 1.43 2002-12-19 09:05:47 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/pcap-nit.c,v 1.44 2002-12-22 02:36:49 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -202,7 +202,8 @@ nit_setflags(int fd, int promisc, int to_ms, char *ebuf)
 }
 
 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 sockaddr_nit snit;