Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Sep 2006 22:35:22 +0200
From:      John Hay <jhay@meraka.org.za>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Disappearing IPv6 default route
Message-ID:  <20060930203522.GA69912@zibbi.meraka.csir.co.za>
In-Reply-To: <451EC677.6000404@infracaninophile.co.uk>
References:  <451EC677.6000404@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 30, 2006 at 08:33:11PM +0100, Matthew Seaman wrote:
> 
> Dear list,
> 
> I've had IPv6 connectivity for some years via an IPv6 in IPv4 gif tunnel
> courtesy of my ISP.  However, about a week ago, when I upgraded to
> 6.2-PRERELEASE, I noticed it had mysteriously stopped working.  (It may have
> died before last week though; but that is the probable time) So this
> weekend I set out to find out why.

It is a known problem that I caused. We are working on it. If you
want to, you can try this patch. It should fix your problem.

John
-- 
John Hay -- John.Hay@meraka.csir.co.za / jhay@FreeBSD.org


Index: sys/netinet6/nd6.c
===================================================================
RCS file: /home/ncvs/src/sys/netinet6/nd6.c,v
retrieving revision 1.67
retrieving revision 1.69
diff -I$FreeBSD: -u -r1.67 -r1.69
--- sys/netinet6/nd6.c	16 Sep 2006 06:24:28 -0000	1.67
+++ sys/netinet6/nd6.c	30 Sep 2006 20:25:33 -0000	1.69
@@ -1390,7 +1390,8 @@
 					    ip6_sprintf(&llsol), error));
 				}
 			}
-		} else if (req == RTM_ADD && SDL(gate)->sdl_alen == 0) {
+		} else if (req == RTM_ADD && SDL(gate)->sdl_alen == 0 &&
+		    (rt->rt_flags & RTF_HOST) != 0) {
 			ln->ln_state = ND6_LLINFO_INCOMPLETE;
 		}
 		break;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060930203522.GA69912>