Add IFT_L2VLAN for supported NDP type. IPv6 over VLAN works now.

Obtained from:	KAME
MFC after:	2 weeks
This commit is contained in:
sumikawa 2001-06-19 14:48:02 +00:00
parent e3a9691522
commit fda44bcae3
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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