]> The Tcpdump Group git mirrors - tcpdump/commit
ICMP: Modernize packet parsing
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 18 Dec 2023 10:53:37 +0000 (11:53 +0100)
committerfxlb <[email protected]>
Tue, 19 Dec 2023 12:39:38 +0000 (12:39 +0000)
commitb97d7389c4a94e8181d5b1ad08796a2be8416324
tree40310aa4bc4b3c8e4571ca5034645caa2f268155
parent5fefba15ae17eadae4c073385aa0971775039cb1
ICMP: Modernize packet parsing

Remove the icmp_print() unused parameter 'bp2'.
Enable ND_LONGJMP_FROM_TCHECK and remove a 'trunc' label.
Remove some redundant ND_TCHECK_*().
Reduce the scope of some variables.
Fix some indentations.
Remove some extra blank lines.
CHANGES
netdissect.h
print-icmp.c
print-ip-demux.c