summaryrefslogtreecommitdiff
path: root/print-rx.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-09-30 13:12:05 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-09-30 13:21:17 +0200
commit1fa77a87dc53451189525b79fff72a0de13be322 (patch)
tree95806708f1c49d193c8004329dda3ce844143f78 /print-rx.c
parent3435ef98e5c1552d9f1f184188260092d1ca7774 (diff)
downloadtcpdump-1fa77a87dc53451189525b79fff72a0de13be322.tar.gz
RX: Remove 1 now redundant ND_TCHECK_LEN(e, sizeof(uint64_t)) call
It is redundant because it is identical to ND_TCHECK_8(e), followed by a GET_BE_U_8(e), same e, which do the bounds check.
Diffstat (limited to 'print-rx.c')
-rw-r--r--print-rx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/print-rx.c b/print-rx.c
index 3b7a623d..4f019528 100644
--- a/print-rx.c
+++ b/print-rx.c
@@ -790,7 +790,6 @@ rx_cache_find(netdissect_options *ndo, const struct rx_header *rxh,
}
#define UINT64OUT() { uint64_t _i; \
- ND_TCHECK_LEN(bp, sizeof(uint64_t)); \
_i = GET_BE_U_8(bp); \
bp += sizeof(uint64_t); \
ND_PRINT(" %" PRIu64, _i); \