]> The Tcpdump Group git mirrors - tcpdump/commit
No OPER-TLV are "empty TLVs".
authorGuy Harris <[email protected]>
Thu, 8 Jan 2015 21:22:13 +0000 (13:22 -0800)
committerGuy Harris <[email protected]>
Thu, 8 Jan 2015 21:22:29 +0000 (13:22 -0800)
commit382bd1e6390b693ca0f63221c1ef237f86f6c449
tree55a7dfc0fda78896ca8712907e5e99452d60a9f6
parente07d011c23ac59294be7905a493e26f01a67840d
No OPER-TLV are "empty TLVs".

As section 7 of RFC 5810 says, an OPER-TLV is 1*PATH-DATA-TLV, so it
always has at least one PATH-DATA-TLV.  Remove the ZERO_TTLV check - the
old one was bogus ((!ops->flags & ZERO_TTLV) means ((!ops->flags) &
ZERO_TTLV), and if ops->flags is non-zero, !ops->flags is zero, and the
test fails), and the new one causes tests to fail, revealing that the
whole "empty TLVs like COMMIT and TRCOMMIT are empty, we stop here"
think is wrong, so we remove it.
print-forces.c