diff options
author | 2018-11-18 08:55:51 +0000 | |
---|---|---|
committer | 2018-11-18 08:55:51 +0000 | |
commit | 35bb16a99c4422fdf828aedc86aeeb1758ab00ee (patch) | |
tree | 29dda173ae8aecfdb163db74b78a8200d2929316 /usr.sbin/tcpdump/print-ether.c | |
parent | handle the 802.1Q i-tag format for provider backbone bridges. (diff) | |
download | wireguard-openbsd-35bb16a99c4422fdf828aedc86aeeb1758ab00ee.tar.xz wireguard-openbsd-35bb16a99c4422fdf828aedc86aeeb1758ab00ee.zip |
later versions of 802.1Q replaced the vlan CFI field with DEI
CFI stood for canonical format indicator, and basically said whether
the payload was ethernet of fddi (with 0 meaning ethernet).
DEI stands for drop eligibility indicator
Diffstat (limited to 'usr.sbin/tcpdump/print-ether.c')
-rw-r--r-- | usr.sbin/tcpdump/print-ether.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-ether.c b/usr.sbin/tcpdump/print-ether.c index 0625f34c204..03c560a2b89 100644 --- a/usr.sbin/tcpdump/print-ether.c +++ b/usr.sbin/tcpdump/print-ether.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-ether.c,v 1.34 2018/11/18 08:53:37 dlg Exp $ */ +/* $OpenBSD: print-ether.c,v 1.35 2018/11/18 08:55:51 dlg Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 @@ -266,7 +266,7 @@ recurse: pri = !pri; printf("vid %d pri %d%s", vid, pri, - vlan & 0x1000 ? " cfi " : " "); + vlan & 0x1000 ? " dei " : " "); ethertype = ntohs(*(unsigned short*)(p+2)); p += 4; length -= 4; |