summaryrefslogtreecommitdiffstats
path: root/sys/dev/nge
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2001-07-25 00:19:59 +0000
committerbrooks <brooks@FreeBSD.org>2001-07-25 00:19:59 +0000
commita9383d43ab1d3539ef9920981b683e1f7b6cec96 (patch)
tree6443f24cae5a7ec67c620d8b90676f5c5f52c0ea /sys/dev/nge
parentddba52ca48f09654c344d53aaf6bbc15015122ca (diff)
downloadFreeBSD-src-a9383d43ab1d3539ef9920981b683e1f7b6cec96.zip
FreeBSD-src-a9383d43ab1d3539ef9920981b683e1f7b6cec96.tar.gz
IFT_8021_VLAN -> IFT_L2VLAN per if_vlan_var.h rev 1.9. With this change
LINT compiles, but doesn't link.
Diffstat (limited to 'sys/dev/nge')
-rw-r--r--sys/dev/nge/if_nge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/nge/if_nge.c b/sys/dev/nge/if_nge.c
index db89ce2..0231087 100644
--- a/sys/dev/nge/if_nge.c
+++ b/sys/dev/nge/if_nge.c
@@ -1544,7 +1544,7 @@ static int nge_encap(sc, m_head, txidx)
if ((m_head->m_flags & (M_PROTO1|M_PKTHDR)) == (M_PROTO1|M_PKTHDR) &&
m_head->m_pkthdr.rcvif != NULL &&
- m_head->m_pkthdr.rcvif->if_type == IFT_8021_VLAN)
+ m_head->m_pkthdr.rcvif->if_type == IFT_L2VLAN)
ifv = m_head->m_pkthdr.rcvif->if_softc;
#endif
OpenPOWER on IntegriCloud