]> The Tcpdump Group git mirrors - tcpdump/commit
UDLD: Fix an infinite loop
authorFrancois-Xavier Le Bail <[email protected]>
Fri, 20 Nov 2015 19:23:11 +0000 (20:23 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 20 Nov 2015 19:23:11 +0000 (20:23 +0100)
commit9759a5bc71a30159479f85a2d8aceb1f348ef818
tree7fb58aa5dda45429f2706f6bd13515a4c9cce2cf
parente075e9915008d5d0f30582b3a75936e58a9bc731
UDLD: Fix an infinite loop

Moreover:
Update reference from draft to RFC5171.
Add bounds and length checks.
Fix TLV length printout. It is the length of the type, length, and value
fields.
Filter out non-printable characters.
Print the Echo TLV with fn_printn(). Note: The format of this list of ID
pairs is not documented in the RFC.
Update the output of a test accordingly.
Add and use istr[] and tstr[] strings.
Comment on the TLV format.
Update some comments.
print-udld.c
tests/udld-v.out