]> The Tcpdump Group git mirrors - tcpdump/commit
AODV: Modernize packet parsing style.
authorDenis Ovsienko <[email protected]>
Fri, 15 Jan 2021 22:30:40 +0000 (22:30 +0000)
committerDenis Ovsienko <[email protected]>
Fri, 15 Jan 2021 22:33:21 +0000 (22:33 +0000)
commit185488763cb92e534112dc26d9f449d5684bc769
treeae58865b3f0d9edd0e332c780340652e896b05d8
parentb0910795a986a3bf5481f978337b0a78e160c144
AODV: Modernize packet parsing style.

Make all ND_TCHECK_SIZE() instances redundant and remove them. Always
print a reason when reporting a packet as invalid. Undo the changes from
commit f875106 to remove support for draft-perkins-aodv6-01, which had
expired in 2001. Use tok2str() to print the message type. Don't print an
additional "v6" for RREQ, as the address family is apparent from the UDP
header. Update a test.
CHANGES
print-aodv.c
tests/cve-2014-8769-AODV.out