summaryrefslogtreecommitdiff
path: root/print-tftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-tftp.c')
-rw-r--r--print-tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-tftp.c b/print-tftp.c
index acb8ca9d..d996b8cf 100644
--- a/print-tftp.c
+++ b/print-tftp.c
@@ -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)