X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/6c9745e5cbb396895a337d937b1f095f6d7426ac..f53e36817312f87f7f41463b70fe320aeb21e02e:/print-tftp.c diff --git a/print-tftp.c b/print-tftp.c index 84cde396..62e2c998 100644 --- a/print-tftp.c +++ b/print-tftp.c @@ -45,7 +45,7 @@ static const char rcsid[] _U_ = #include "tftp.h" /* op code to string mapping */ -static struct tok op2str[] = { +static const struct tok op2str[] = { { RRQ, "RRQ" }, /* read request */ { WRQ, "WRQ" }, /* write request */ { DATA, "DATA" }, /* data packet */ @@ -56,7 +56,7 @@ static struct tok op2str[] = { }; /* error code to string mapping */ -static struct tok err2str[] = { +static const struct tok err2str[] = { { EUNDEF, "EUNDEF" }, /* not defined */ { ENOTFOUND, "ENOTFOUND" }, /* file not found */ { EACCESS, "EACCESS" }, /* access violation */