]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-cdp.c
Revert partially the commit 21b1273
[tcpdump] / print-cdp.c
index e1e7d71b92185b3bb6bcd3605afce15effe033e4..0ab646e51dee71dd63296ee4bd1b9c80a58ac94a 100644 (file)
@@ -337,7 +337,6 @@ cdp_print_addr(netdissect_options *ndo,
                         */
                        p += 3;
 
-                       ND_TCHECK_4(p);
                        if (p + 4 > endp)
                                goto trunc;
                        ND_PRINT("IPv4 (%u) %s", num, GET_IPADDR_STRING(p));