From bbce7eba7fa5b72c288c064dc50129d82623dfd0 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Wed, 25 Jul 2001 00:19:59 +0000 Subject: [PATCH] IFT_8021_VLAN -> IFT_L2VLAN per if_vlan_var.h rev 1.9. With this change LINT compiles, but doesn't link. --- sys/dev/nge/if_nge.c | 2 +- sys/dev/ti/if_ti.c | 2 +- sys/pci/if_ti.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/nge/if_nge.c b/sys/dev/nge/if_nge.c index db89ce280e8..0231087be41 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 bb55cba56dc..3b16fdbcfc7 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 diff --git a/sys/pci/if_ti.c b/sys/pci/if_ti.c index bb55cba56dc..3b16fdbcfc7 100644 --- a/sys/pci/if_ti.c +++ b/sys/pci/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