* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
- * Format and print trivial file transfer protocol packets.
*/
+/* \summary: Trivial File Transfer Protocol (TFTP) printer */
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#include <tcpdump-stdinc.h>
+#include <netdissect-stdinc.h>
#include <string.h>
-#include "interface.h"
+#include "netdissect.h"
#include "extract.h"
/*
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)