X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/306c2a0384af923a73bf234f3c8bc186ceff0b58..refs/heads/mcr-macro-update-1:/print-cdp.c diff --git a/print-cdp.c b/print-cdp.c index d0e63688..0ab646e5 100644 --- a/print-cdp.c +++ b/print-cdp.c @@ -21,7 +21,7 @@ * Code by Gert Doering, SpaceNet GmbH, gert@space.net * * Reference documentation: - * http://www.cisco.com/univercd/cc/td/doc/product/lan/trsrb/frames.htm + * https://web.archive.org/web/20000914194913/http://www.cisco.com/univercd/cc/td/doc/product/lan/trsrb/frames.pdf */ /* \summary: Cisco Discovery Protocol (CDP) printer */ @@ -210,7 +210,7 @@ cdp_print(netdissect_options *ndo, ND_PRINT("%s", GET_U_1(tptr) ? "full": "half"); break; - /* http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cata/186/2_12_m/english/release/notes/186rn21m.html + /* https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cata/186/2_12_m/english/release/notes/186rn21m.html * plus more details from other sources * * There are apparently versions of the request with both @@ -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));