summaryrefslogtreecommitdiff
path: root/print-isoclns.c
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2020-09-08 16:16:38 +0100
committerDenis Ovsienko <denis@ovsienko.info>2020-09-08 16:23:56 +0100
commit2bfa05b9b60c07fd23daf7077a9488fe043a202c (patch)
treed72a283698ad374990bb3bbed9d90706f89dbf64 /print-isoclns.c
parente782bd8ca6e739a87d8d22d4f45bce4831426201 (diff)
downloadtcpdump-2bfa05b9b60c07fd23daf7077a9488fe043a202c.tar.gz
Remove 7 more ND_TCHECK calls.
Diffstat (limited to 'print-isoclns.c')
-rw-r--r--print-isoclns.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/print-isoclns.c b/print-isoclns.c
index e842a008..44d1aa73 100644
--- a/print-isoclns.c
+++ b/print-isoclns.c
@@ -1022,8 +1022,6 @@ clnp_print(netdissect_options *ndo,
}
if (source_address_length > 0) {
source_address=(tptr+1);
- ND_TCHECK_LEN(source_address,
- source_address_length);
ND_PRINT("\n\t NSAP address (length %u): %s",
source_address_length,
GET_ISONSAP_STRING(source_address, source_address_length));
@@ -2891,7 +2889,6 @@ isis_print(netdissect_options *ndo,
tlen--;
if (tlen < alen)
goto tlv_trunc;
- ND_TCHECK_LEN(tptr, alen);
ND_PRINT("\n\t Area address (length: %u): %s",
alen,
GET_ISONSAP_STRING(tptr, alen));
@@ -3459,7 +3456,6 @@ isis_print(netdissect_options *ndo,
}
if (tlen < prefix_len/2)
break;
- ND_TCHECK_LEN(tptr, prefix_len / 2);
ND_PRINT("\n\t\tAddress: %s/%u",
GET_ISONSAP_STRING(tptr, prefix_len / 2), prefix_len * 4);
tptr+=prefix_len/2;