blob: 9935ca4fae6917b58b612c6031adca36cfd77568 (
plain)
1
2
3
4
5
6
7
8
9
10
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;
|