commit | d0b48b5108a77959ac65c499d1ab577c000c5804 | [log] [tgz] |
---|---|---|
author | Denis Ovsienko <infrastation@yandex.ru> | Fri May 10 16:03:08 2013 +0400 |
committer | Denis Ovsienko <infrastation@yandex.ru> | Wed May 29 13:03:23 2013 +0400 |
tree | e6dcd42dcbfba86545a0bee5d1b6bed999007f45 | |
parent | dbd9d385cc2bd17147f34762896519998ea2353e [diff] |
fix iteration over Babel Pad1 TLVs The Pad1 TLV consists only of the Type field (RFC6126 Section 4.4.1), thus the check for Pad1 type must be done before the Length field is consumed, if ever. This change brings tcpdump decoder into line with the spec and Babel implementation's own TLV iterator.