]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-tftp.c
Clean up handling of tftp.h.
[tcpdump] / print-tftp.c
index 0caff42843235d5aeaa4821fd99ad91edc7568a9..84cde3969d08bfd8f898da610f0606cf6fc4ad07 100644 (file)
@@ -99,15 +99,7 @@ tftp_print(register const u_char *bp, u_int length)
        case RRQ:
        case WRQ:
        case OACK:
-               /*
-                * XXX Not all arpa/tftp.h's specify th_stuff as any
-                * array; use address of th_block instead
-                */
-#ifdef notdef
                p = (u_char *)tp->th_stuff;
-#else
-               p = (u_char *)&tp->th_block;
-#endif
                putchar(' ');
                /* Print filename or first option */
                if (opcode != OACK)