diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index 270550bf4903..6c727cd054a4 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -2006,6 +2006,9 @@ nd6_need_cache(ifp) case IFT_ETHER: case IFT_FDDI: case IFT_IEEE1394: +#ifdef IFT_L2VLAN + case IFT_L2VLAN: +#endif #ifdef IFT_IEEE80211 case IFT_IEEE80211: #endif @@ -2031,6 +2034,9 @@ nd6_storelladdr(ifp, rt, m, dst, desten) switch (ifp->if_type) { case IFT_ETHER: case IFT_FDDI: +#ifdef IFT_L2VLAN + case IFT_L2VLAN: +#endif #ifdef IFT_IEEE80211 case IFT_IEEE80211: #endif diff --git a/sys/netinet6/nd6_nbr.c b/sys/netinet6/nd6_nbr.c index 7527d432ba83..9de830be955d 100644 --- a/sys/netinet6/nd6_nbr.c +++ b/sys/netinet6/nd6_nbr.c @@ -967,6 +967,9 @@ nd6_ifptomac(ifp) case IFT_ETHER: case IFT_FDDI: case IFT_IEEE1394: +#ifdef IFT_L2VLAN + case IFT_L2VLAN: +#endif #ifdef IFT_IEEE80211 case IFT_IEEE80211: #endif