summaryrefslogtreecommitdiff
path: root/print-vtp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-04-17 23:42:22 -0700
committerGuy Harris <guy@alum.mit.edu>2015-04-17 23:42:22 -0700
commitbd00116d80c18b782f4cb15dfc90cd5bf993d4f5 (patch)
treea16e9d9d3f76a4cb7ce31ed246d0e210ee6eef96 /print-vtp.c
parentcd81326386002beb5c4df6550350860568e2a682 (diff)
downloadtcpdump-bd00116d80c18b782f4cb15dfc90cd5bf993d4f5.tar.gz
Skip the LLC and SNAP headers with -x.
Have llc_print() return the length of the LLC header, plus the length of the SNAP header, if available - or, if it couldn't dissect the payload, return the *negative* of that sum. Use that return value in link-layer printers.
Diffstat (limited to 'print-vtp.c')
0 files changed, 0 insertions, 0 deletions