X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/64e8f9a9ed91a3cbfa8e66367f87ef50a1d62b99..5ef0bcb5edd748de9d9af13c40da0395dfdd94e8:/print-cnfp.c diff --git a/print-cnfp.c b/print-cnfp.c index 4799ce14..69f905f5 100644 --- a/print-cnfp.c +++ b/print-cnfp.c @@ -468,7 +468,6 @@ cnfp_print(netdissect_options *ndo, const u_char *cp) * First 2 bytes are the version number. */ ndo->ndo_protocol = "cnfp"; - ND_TCHECK_2(cp); ver = GET_BE_U_2(cp); switch (ver) { @@ -488,9 +487,4 @@ cnfp_print(netdissect_options *ndo, const u_char *cp) ND_PRINT("NetFlow v%x", ver); break; } - return; - -trunc: - nd_print_trunc(ndo); - return; }