X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/a945058fa79c1bba7adf12268d9d2baa56e35316..f53e36817312f87f7f41463b70fe320aeb21e02e:/print-ip.c diff --git a/print-ip.c b/print-ip.c index 494eb295..c74bdae1 100644 --- a/print-ip.c +++ b/print-ip.c @@ -41,7 +41,7 @@ static const char rcsid[] _U_ = #include "ip.h" #include "ipproto.h" -struct tok ip_option_values[] = { +static const struct tok ip_option_values[] = { { IPOPT_EOL, "EOL" }, { IPOPT_NOP, "NOP" }, { IPOPT_TS, "timestamp" }, @@ -303,7 +303,7 @@ trunc: #define IP_RES 0x8000 -static struct tok ip_frag_values[] = { +static const struct tok ip_frag_values[] = { { IP_MF, "+" }, { IP_DF, "DF" }, { IP_RES, "rsvd" }, /* The RFC3514 evil ;-) bit */