]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-aodv.c
DNS: Sync types with IANA
[tcpdump] / print-aodv.c
index 1f53f8271df84b74428b6cca7b26390e53f80c48..97421433f7f40b41bf87e6221cde455fdc1ac962 100644 (file)
@@ -485,7 +485,6 @@ aodv_print(netdissect_options *ndo,
         * The message type is the first byte; make sure we have it
         * and then fetch it.
         */
-       ND_TCHECK_1(dat);
        msg_type = GET_U_1(dat);
        ND_PRINT(" aodv");
 
@@ -535,8 +534,4 @@ aodv_print(netdissect_options *ndo,
        default:
                ND_PRINT(" type %u %u", msg_type, length);
        }
-       return;
-
-trunc:
-       nd_print_trunc(ndo);
 }