diff options
author | sumikawa <sumikawa@FreeBSD.org> | 2001-06-19 14:48:02 +0000 |
---|---|---|
committer | sumikawa <sumikawa@FreeBSD.org> | 2001-06-19 14:48:02 +0000 |
commit | fda44bcae38083716d5b4788689f3146651d11d0 (patch) | |
tree | 0e8ec3ce0c91e69a79e448a22780cfd9f017a994 /sys | |
parent | e3a9691522fcacaf46159808810c12ce3a2fed4a (diff) | |
download | FreeBSD-src-fda44bcae38083716d5b4788689f3146651d11d0.zip FreeBSD-src-fda44bcae38083716d5b4788689f3146651d11d0.tar.gz |
Add IFT_L2VLAN for supported NDP type. IPv6 over VLAN works now.
Obtained from: KAME
MFC after: 2 weeks
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet6/nd6.c | 6 | ||||
-rw-r--r-- | sys/netinet6/nd6_nbr.c | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index 270550b..6c727cd 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 7527d43..9de830b 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 |