summaryrefslogtreecommitdiff
path: root/testing/kismet/kismet-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/kismet/kismet-build.patch')
-rw-r--r--testing/kismet/kismet-build.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/kismet/kismet-build.patch b/testing/kismet/kismet-build.patch
new file mode 100644
index 000000000..9935ca4fa
--- /dev/null
+++ b/testing/kismet/kismet-build.patch
@@ -0,0 +1,11 @@
+--- macaddr.h.orig 2009-07-08 02:29:38.000000000 -0400
++++ macaddr.h 2009-07-08 02:37:54.000000000 -0400
+@@ -73,7 +73,7 @@
+ longmac |= (uint64_t) bs_in[5] << ((MAC_LEN - 5 - 1) * 8);
+
+ // If it has a mask component, get that
+- char *in_mask = strchr(in, '/');
++ const char *in_mask = strchr(in, '/');
+ if (in_mask != NULL) {
+ longmask = 0;
+