summaryrefslogtreecommitdiff
path: root/print-ether.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-ether.c')
-rw-r--r--print-ether.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/print-ether.c b/print-ether.c
index 4bf45731..205cc8a7 100644
--- a/print-ether.c
+++ b/print-ether.c
@@ -219,14 +219,11 @@ recurse:
printed_length = 1;
}
- int ret = macsec_print(ndo, &p, &length, &caplen, &hdrlen);
+ int ret = macsec_print(ndo, &p, &length, &caplen, &hdrlen,
+ &src, &dst);
if (ret == 0) {
/* Payload is encrypted; print it as raw data. */
- if (!ndo->ndo_eflag) {
- ether_type_print(ndo, length_type);
- ND_PRINT(", length %u: ", orig_length);
- }
if (!ndo->ndo_suppress_default_print)
ND_DEFAULTPRINT(p, caplen);
return (hdrlen);