]> The Tcpdump Group git mirrors - tcpdump/blobdiff - util-print.c
CREDITS: add author of a change backported to 4.99.2. [skip ci]
[tcpdump] / util-print.c
index a548b5ba3c50ceec7e8c950deef03497e13be89c..bd39d56aec157c427a506e9fce813a884e19c0da 100644 (file)
@@ -616,7 +616,7 @@ uint2tokary_internal(const struct uint_tokary dict[], const size_t size,
 int
 mask2plen(uint32_t mask)
 {
-       uint32_t bitmasks[33] = {
+       const uint32_t bitmasks[33] = {
                0x00000000,
                0x80000000, 0xc0000000, 0xe0000000, 0xf0000000,
                0xf8000000, 0xfc000000, 0xfe000000, 0xff000000,