X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/24598ce6b7cfe72ada92aed48691fdf092d94fc7..214dc9903dfc1b5fde5ab5a2eceaa12d0caef705:/print-tftp.c diff --git a/print-tftp.c b/print-tftp.c index 9b88e74f..d996b8cf 100644 --- a/print-tftp.c +++ b/print-tftp.c @@ -21,7 +21,6 @@ * Format and print trivial file transfer protocol packets. */ -#define NETDISSECT_REWORKED #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -131,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)