summarylogtreecommitdiffstats
path: root/newapi.patch
blob: ce59991703e8a2a97b0fc22d4ab8d8d9ef1d13cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -up src/Net-Pcap-0.18/Pcap.xs.orig src/Net-Pcap-0.18/Pcap.xs
--- src/Net-Pcap-0.18/Pcap.xs.orig	2020-04-05 01:33:02.900000000 -0600
+++ src/Net-Pcap-0.18/Pcap.xs	2020-04-05 01:33:11.070000000 -0600
@@ -937,7 +937,7 @@ pcap_parsesrcstr(source, type, host, por
 
 pcap_t *
 pcap_open(source, snaplen, flags, read_timeout, auth, err)
-    char *source
+    const char *source
     int snaplen
     int flags
     int read_timeout