X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/38700c7f24646dfbc6ac0ed529d3ed727c545cd0..refs/pull/482/head:/print-tftp.c diff --git a/print-tftp.c b/print-tftp.c index acb8ca9d..e7201ebd 100644 --- a/print-tftp.c +++ b/print-tftp.c @@ -25,11 +25,11 @@ #include "config.h" #endif -#include +#include #include -#include "interface.h" +#include "netdissect.h" #include "extract.h" /* @@ -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)