From owner-cvs-etc Thu Sep 25 08:24:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA22126 for cvs-etc-outgoing; Thu, 25 Sep 1997 08:24:47 -0700 (PDT) Received: from word.smith.net.au (word.smith.net.au [202.0.75.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA22096; Thu, 25 Sep 1997 08:24:17 -0700 (PDT) Received: from word.smith.net.au (localhost.smith.net.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id AAA04380; Fri, 26 Sep 1997 00:51:18 +0930 (CST) Message-Id: <199709251521.AAA04380@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Brian Somers cc: "Rodney W. Grimes" , 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 In-reply-to: Your message of "Sun, 21 Sep 1997 13:44:59 +0100." <199709211244.NAA27012@awfulhak.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 26 Sep 1997 00:51:18 +0930 From: Mike Smith Sender: owner-cvs-etc@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > 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 " to look and remove any routes for before inserting the new one. I would hope this was as easy as it sounds. 8) mike