X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/abc8c2d61c65757011d9d32abb01cd1e51232f3a..5ef0bcb5edd748de9d9af13c40da0395dfdd94e8:/print-vrrp.c diff --git a/print-vrrp.c b/print-vrrp.c index b795a339..972a8cd7 100644 --- a/print-vrrp.c +++ b/print-vrrp.c @@ -120,7 +120,6 @@ vrrp_print(netdissect_options *ndo, if (version < 2 || version > 3 || type != VRRP_TYPE_ADVERTISEMENT) return; ND_PRINT(", vrid %u, prio %u", GET_U_1(bp + 1), GET_U_1(bp + 2)); - ND_TCHECK_1(bp + 5); if (version == 2) { auth_type = GET_U_1(bp + 4); @@ -161,7 +160,6 @@ vrrp_print(netdissect_options *ndo, c = ' '; bp += 8; for (i = 0; i < naddrs; i++) { - ND_TCHECK_1(bp + 3); ND_PRINT("%c%s", c, GET_IPADDR_STRING(bp)); c = ','; bp += 4;