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

Obtained from:	KAME
MFC after:	2 weeks
This commit is contained in:
Munechika SUMIKAWA 2001-06-19 14:48:02 +00:00
parent 5fa25b1b0e
commit 05b6760d2a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78468
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