diff options
author | Guy Harris <gharris@sonic.net> | 2020-05-28 01:25:09 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-05-28 01:25:09 -0700 |
commit | df2d7be173d4a34dd5b39850da6addf44c952401 (patch) | |
tree | 9069eee22224ad5cf523d78f5d931c9f7a5d0913 /print-macsec.c | |
parent | fc1f0e7e582c75239590da976b91d0568c6f9d57 (diff) | |
download | tcpdump-df2d7be173d4a34dd5b39850da6addf44c952401.tar.gz |
ether: clean up MACsec processing.
Print the length early if we're printing the link-layer header.
If the payload is encrypted or otherwise modified, print it out as raw
data.
If the payload is not encrypted or otherwise modified, and we didn't
have a problem printing the header, fetch the type/length field
following the MACsec header, skip past it, and continue, rather than
looping back - there shouldn't be multiple MACsec headers, as far as I
know. (If that's not the case, go back to looping.)
Diffstat (limited to 'print-macsec.c')
0 files changed, 0 insertions, 0 deletions