]> The Tcpdump Group git mirrors - tcpdump/commit
"length" is now the *remaining* packet length.
authorGuy Harris <[email protected]>
Sun, 5 Jul 2015 01:03:40 +0000 (18:03 -0700)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 18 Jan 2017 08:16:37 +0000 (09:16 +0100)
commita7be3fdba438f8ea80586d2a00b23fb9a96d602c
tree7549d096df62538a5dd53cdfea76be1e54d3a553
parentbf7c00815ba0171a4735fcecc2cc5a3d9a467ace
"length" is now the *remaining* packet length.

The loop that processes MPLS labels decrements the length for each
label, so it's the remaining length; don't subtract the total length of
the MPLS labels from it before handing it to packet printers.
print-mpls.c