Re: Manually-set IPv6 default route disappears after 5 minutes

Olivier Mehani <[email protected]> Tue, 6 Aug 2013 14:59:34 +1000
Newsgroups gmane.os.openbsd.ipv6
Message-ID <[email protected]>
Hey Kenneth,

(Woops I appear to have lost ipv6@ at some point.)

On Mon, Aug 05, 2013 at 11:55:50PM -0400, Kenneth R Westerback wrote:
> > >> > > I'll file a bug.
> > >> > Well, if it's working in -current, what's the bug?
> > >> I think the fact that it works is a side effect of the change of
> > >1.260,
> > >> rather than the potential bug (as you pointed out earlier) being
> > >fixed.
> > >You don't mention which version of dhclient you are running.
> > sendbug took care of it, but it's 5.3 release.
>
> In which case kroute.c r1.44 is not in there. And while that code
> did not survive long, its intent should have been preserved into
> 5.4.

Ah, right. I only based my comments on 1.55, ignoring the fact that it
might not have been the same in 5.3.

5.3 had 1.40 [0], which doesn't have a [priv_]flush_routes(), but only
[priv_]flush_routes_and_arp_cache(). The priv_ variant says nothing
about AF_INET (mib[3] = 0).

This is not the case in 1.55, as it appears to have been fixed with 1.47
[1].

[0]
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/dhclient/kroute.c?rev=1.40;onl
y_with_tag=OPENBSD_5_3_BASE
[1] http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/dhclient/kroute.c#rev1.47

--
Olivier Mehani <[email protected]>
PGP fingerprint: 4435 CF6A 7C8D DD9B E2DE  F5F9 F012 A6E2 98C6 6655

[demime 1.01d removed an attachment of type application/pgp-signature]