From owner-freebsd-current Tue Nov 10 13:26:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA17781 for freebsd-current-outgoing; Tue, 10 Nov 1998 13:26:23 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA17708; Tue, 10 Nov 1998 13:26:08 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (root@woof.lan.Awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id VAA08058; Tue, 10 Nov 1998 21:25:35 GMT (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id VAA16076; Tue, 10 Nov 1998 21:27:01 GMT (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199811102127.VAA16076@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Jeroen C. van Gelderen" cc: "Sheldon Hearn" , "Dmitry Valdov" , "Kris Kennaway" , "Brian Somers" , current@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/ppp ip.c In-reply-to: Your message of "Tue, 10 Nov 1998 10:47:14 +0100." <008d01be0c8f$188b6dc0$1400000a@deskfix.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 10 Nov 1998 21:27:01 +0000 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > From: Sheldon Hearn > >Even if ppp does the route cleanup for you, a signal 9 (KILL) doesn't > >allow it to attempt graceful exit. This means that building cleanup code > >into ppp would not "fix it in ppp", since the code would never be > >reached once a SIGKILL is received. > > Just a humble thought: route removal can be seen as cleanup, but it can also > be seen as preparation. Maybe you can do it at ppp startup. Or -if that's > not possible- you may be able to detect the condition as handle it > gracefully... It cleans the interface it wants to use. This should be enough. It's always possible to put a ``delete! default'' in ppp.conf just in case that's been left around. > Cheers, > Jeroen > (who does not run ppp) -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message