diff options
author | thompsa <thompsa@FreeBSD.org> | 2005-09-06 21:11:59 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2005-09-06 21:11:59 +0000 |
commit | ab218f3cd35ce291d5f9853770cfc43cabe27013 (patch) | |
tree | 33a2d3e2740f951499953f550f362d27db5f4d6a /sys/net/if_ethersubr.c | |
parent | 72540a43caf90d67d277898c0be2efd658236454 (diff) | |
download | FreeBSD-src-ab218f3cd35ce291d5f9853770cfc43cabe27013.zip FreeBSD-src-ab218f3cd35ce291d5f9853770cfc43cabe27013.tar.gz |
Add support for multicast to the bridge and allow inet6 addresses to be
assigned to the interface.
IPv6 auto-configuration is disabled. An IPv6 link-local address has a
link-local scope within one link, the spec is unclear for the bridge case and
it may cause scope violation.
An address can be assigned in the usual way;
ifconfig bridge0 inet6 xxxx:...
Tested by: bmah
Reviewed by: ume (netinet6)
Approved by: mlaier (mentor)
MFC after: 1 week
Diffstat (limited to 'sys/net/if_ethersubr.c')
-rw-r--r-- | sys/net/if_ethersubr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 2b3f746..3582c91 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -672,7 +672,7 @@ ether_demux(struct ifnet *ifp, struct mbuf *m) goto post_stats; #endif - if (!(BDG_ACTIVE(ifp)) && + if (!(BDG_ACTIVE(ifp)) && !(ifp->if_bridge) && !((ether_type == ETHERTYPE_VLAN || m->m_flags & M_VLANTAG) && ifp->if_nvlans > 0)) { #ifdef DEV_CARP |