aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2001-07-25 00:19:59 +0000
committerBrooks Davis <brooks@FreeBSD.org>2001-07-25 00:19:59 +0000
commitbbce7eba7fa5b72c288c064dc50129d82623dfd0 (patch)
tree6443f24cae5a7ec67c620d8b90676f5c5f52c0ea /sys/dev
parent4d60fee22bd18f39db80e134f5f4fbaa5c9b7471 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/nge/if_nge.c2
-rw-r--r--sys/dev/ti/if_ti.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/nge/if_nge.c b/sys/dev/nge/if_nge.c
index db89ce280e86..0231087be41b 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
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c
index bb55cba56dcf..3b16fdbcfc77 100644
--- a/sys/dev/ti/if_ti.c
+++ b/sys/dev/ti/if_ti.c
@@ -1968,7 +1968,7 @@ static int ti_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