summaryrefslogtreecommitdiff
path: root/print-sll.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-sll.c')
-rw-r--r--print-sll.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/print-sll.c b/print-sll.c
index 0ca36f53e46b1..1f5f60084a204 100644
--- a/print-sll.c
+++ b/print-sll.c
@@ -280,10 +280,7 @@ recurse:
if (ndo->ndo_eflag) {
uint16_t tag = EXTRACT_16BITS(p);
- ND_PRINT((ndo, "vlan %u, p %u%s, ",
- tag & 0xfff,
- tag >> 13,
- (tag & 0x1000) ? ", CFI" : ""));
+ ND_PRINT((ndo, "%s, ", ieee8021q_tci_string(tag)));
}
ether_type = EXTRACT_16BITS(p + 2);