]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-isoclns.c
RIPng: Use more ND_TCHECK_SIZE() macros
[tcpdump] / print-isoclns.c
index af2b1041f16d42596d5f0e6cd331dd078235da7a..5b1f9a4e1597e2957884ee548280a981bb392694 100644 (file)
@@ -2889,7 +2889,7 @@ isis_print(netdissect_options *ndo,
                tmp--;
            }
            if(tmp>sizeof(tlv_ptp_adj->extd_local_circuit_id)) {
-               ND_TCHECK(tlv_ptp_adj->extd_local_circuit_id);
+               ND_TCHECK_4(tlv_ptp_adj->extd_local_circuit_id);
                ND_PRINT("\n\t      Extended Local circuit-ID: 0x%08x",
                       EXTRACT_BE_U_4(tlv_ptp_adj->extd_local_circuit_id));
                tmp-=sizeof(tlv_ptp_adj->extd_local_circuit_id);
@@ -2901,7 +2901,7 @@ isis_print(netdissect_options *ndo,
                tmp-=SYSTEM_ID_LEN;
            }
            if(tmp>=sizeof(tlv_ptp_adj->neighbor_extd_local_circuit_id)) {
-               ND_TCHECK(tlv_ptp_adj->neighbor_extd_local_circuit_id);
+               ND_TCHECK_4(tlv_ptp_adj->neighbor_extd_local_circuit_id);
                ND_PRINT("\n\t      Neighbor Extended Local circuit-ID: 0x%08x",
                       EXTRACT_BE_U_4(tlv_ptp_adj->neighbor_extd_local_circuit_id));
            }