]> The Tcpdump Group git mirrors - tcpdump/commit
Remove some now redundant ND_TCHECK_4() calls
authorFrancois-Xavier Le Bail <[email protected]>
Sat, 5 Sep 2020 19:56:50 +0000 (21:56 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 8 Sep 2020 12:14:13 +0000 (14:14 +0200)
commitaad6ac30ce7904f688226dbc61021ca4f907274f
tree76ffb3367a34d7e5225fa1bc0a75aa6406118b6d
parentcbe18055349fa44ac8348c56834c32586e0a81ab
Remove some now redundant ND_TCHECK_4() calls

ND_TCHECK_4(e).

They are redundant because they are followed by a GET_IPADDR_STRING(e)
call, same e, which do the bounds check.

Remove unused 'trunc' labels and associated codes.

Update the output of a test accordingly.
16 files changed:
print-ahcp.c
print-bgp.c
print-bootp.c
print-cdp.c
print-dvmrp.c
print-hsrp.c
print-icmp.c
print-igmp.c
print-ip.c
print-lisp.c
print-openflow-1.0.c
print-ospf.c
print-ospf6.c
print-pim.c
print-ppp.c
tests/ip_printroute_asan.out