Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 1997 00:51:18 +0930
From:      Mike Smith <mike@smith.net.au>
To:        Brian Somers <brian@awfulhak.org>
Cc:        "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>, brian@freebsd.org (Brian Somers), cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-etc@freebsd.org
Subject:   Re: cvs commit: src/etc/ppp ppp.linkup.sample 
Message-ID:  <199709251521.AAA04380@word.smith.net.au>
In-Reply-To: Your message of "Sun, 21 Sep 1997 13:44:59 %2B0100." <199709211244.NAA27012@awfulhak.demon.co.uk> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > Yet another reason ppp has no business doing routing.  This leaves
> > a window of time that no default route exists and if a connection
> > happens to send a keepalive packet during it the conneciton is going
> > to get torn down :-(.
> > 
> > Correct thing to do is a ``if route 0 exists, then route change 0 0,
> > else route add 0 0''.
> 
> I'll be happy to add your patches to the source and documentation that
> implement this wonderful syntax.

The right way to do this is probably for "add <anything>" to look and 
remove any routes for <anything> before inserting the new one.

I would hope this was as easy as it sounds. 8)

mike





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