From 5a51285f02397acfab18c2c083733cf5b43697aa Mon Sep 17 00:00:00 2001 From: itojun Date: Thu, 23 May 2002 06:25:25 +0000 Subject: [PATCH] do not have link-local address for IFT_BRIDGE --- sys/netinet6/in6_ifattach.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/netinet6/in6_ifattach.c b/sys/netinet6/in6_ifattach.c index 1f663cb52a3d..f9a017a31e15 100644 --- a/sys/netinet6/in6_ifattach.c +++ b/sys/netinet6/in6_ifattach.c @@ -1,4 +1,4 @@ -/* $NetBSD: in6_ifattach.c,v 1.41 2001/12/21 08:54:54 itojun Exp $ */ +/* $NetBSD: in6_ifattach.c,v 1.42 2002/05/23 06:25:25 itojun Exp $ */ /* $KAME: in6_ifattach.c,v 1.124 2001/07/18 08:32:51 jinmei Exp $ */ /* @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: in6_ifattach.c,v 1.41 2001/12/21 08:54:54 itojun Exp $"); +__KERNEL_RCSID(0, "$NetBSD: in6_ifattach.c,v 1.42 2002/05/23 06:25:25 itojun Exp $"); #include #include @@ -589,6 +589,8 @@ in6_ifattach(ifp, altifp) /* some of the interfaces are inherently not IPv6 capable */ switch (ifp->if_type) { + case IFT_BRIDGE: + return; case IFT_PROPVIRTUAL: if (strncmp("bridge", ifp->if_xname, sizeof("bridge")) == 0 && '0' <= ifp->if_xname[sizeof("bridge")] &&