]> The Tcpdump Group git mirrors - tcpdump/commit
BRCMTAG: Remove a useless test
authorFrancois-Xavier Le Bail <[email protected]>
Sun, 12 Jul 2020 19:52:03 +0000 (21:52 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 13 Jul 2020 15:28:32 +0000 (17:28 +0200)
commit073fea9c9042a42d5602336cac51409d131eb2ab
treef9f9b7f6af765449c06c3b105834c8fb4088affb
parent097f3c47ff266998ad4cfd13bfdab391426c83ef
BRCMTAG: Remove a useless test

Because packet length (length) >= capture length (caplen), when
caplen >= BRCM_TAG_LEN, length >= caplen cannot be < BRCM_TAG_LEN.

(see the sanity checks in print.c, pretty_print_packet() function)
print-brcmtag.c