]> The Tcpdump Group git mirrors - tcpdump/commit
Fix problem found by the folks at www.digit-labs.org. Process all the
authorguy <guy>
Sat, 14 Jul 2007 22:24:54 +0000 (22:24 +0000)
committerguy <guy>
Sat, 14 Jul 2007 22:24:54 +0000 (22:24 +0000)
commit1c617b856ce38d5b1fbf72a181f6f69afa9e12df
treeea122ae43bb724c9aae015cebec920b49e67df54
parentc639979cc9b1517dd045105476d6a2805c3d468b
Fix problem found by the folks at www.digit-labs.org.  Process all the
TLVs in decode_labeled_vpn_l2(), but don't format them unless there's
buffer space left.  If snprintf() returns a negative value, assume we've
filled up the buffer - I think some platforms used to work that way.  If
it returns a value greater than the amount of space left, also assume
we've filled up the buffer.

Fix a typo in a comment.
print-bgp.c