]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-tftp.c
Merge pull request #468 from gvanem/patch-1
[tcpdump] / print-tftp.c
index acb8ca9d6947f25d5de0cbfec35eb1eadd0789f3..d996b8cfd69269cd7ef04ee6c4f72a7460111ab5 100644 (file)
@@ -130,7 +130,7 @@ tftp_print(netdissect_options *ndo,
        case RRQ:
        case WRQ:
        case OACK:
-               p = (u_char *)tp->th_stuff;
+               p = (const u_char *)tp->th_stuff;
                ND_PRINT((ndo, " "));
                /* Print filename or first option */
                if (opcode != OACK)