From owner-freebsd-net Sat May 9 22:34:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA16925 for freebsd-net-outgoing; Sat, 9 May 1998 22:34:26 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA16919 for ; Sat, 9 May 1998 22:34:21 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id WAA16228; Sat, 9 May 1998 22:32:33 -0700 (PDT) Message-Id: <199805100532.WAA16228@implode.root.com> To: Wes Peters cc: Julian Elischer , freebsd-net@FreeBSD.ORG Subject: Re: Have I left something out? In-reply-to: Your message of "Sat, 09 May 1998 23:13:19 MDT." <3555376F.7FBAA205@softweyr.com> From: David Greenman Reply-To: dg@root.com Date: Sat, 09 May 1998 22:32:33 -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >> > // interface is marked "down", it still insists that that is THE route to >> > // any machines which would be on that net. >> >> This is a known bug and there are fixes for it floating around >> but none are really 'correct' >> > >"The Right Way" to fix it is with a function that walks the route table >and deletes all the routes whose ifp points to the ifnet being detached. >I haven't had time to poke into the FreeBSD sources yet. If nobody else >gets this, I'll look into it as soon as I get my plate cleared at work >a bit. This is normally done by the routing daemon. In the case of routed, it scans the list of interfaces periodically for changes. For gated, it has a socket open for up/down change events and takes care of business as soon as it sees the change. I'm inclined to think that this functionality should stay in the route daemon where it has always been since deleting the routes to the interface may not be the correct course of action. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message