From owner-freebsd-mobile Fri Sep 7 8:47:46 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id F236437B405 for ; Fri, 7 Sep 2001 08:47:41 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA19860; Fri, 7 Sep 2001 09:47:39 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id JAA03359; Fri, 7 Sep 2001 09:47:39 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15256.60442.758729.299336@nomad.yogotech.com> Date: Fri, 7 Sep 2001 09:47:38 -0600 To: Toshihiko ARAI Cc: nate@yogotech.com (Nate Williams), freebsd-mobile@FreeBSD.ORG Subject: Re: [PATCH] pccard_ether and removable_* variables In-Reply-To: <200109071244.f87Cib011728.toshi@jp.FreeBSD.org> References: <15245.13394.275183.61715@nomad.yogotech.com> <200109011153.f81BrZL93078.toshi@jp.FreeBSD.org> <15253.10889.977127.513674@nomad.yogotech.com> <200109051230.f85CUGQ39840.toshi@jp.FreeBSD.org> <15254.22900.863293.94059@nomad.yogotech.com> <200109071244.f87Cib011728.toshi@jp.FreeBSD.org> X-Mailer: VM 6.95 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > >> You may be just right. However, 'static_routes_' is null > >> and void with DHCP. Implementation of dhclient seems to surely deal > >> with 'dhclient-script', but I don't so know a lot about DHCP. > > > True, but with DHCP, the routes are flushed automatically via the DHCP > > scripts. Someone who is using DHCP to get their addresses is certainly > > not going to be running as a router. > > I examined it. As a result, I understood that removable_route_flush > was unnecessary now. When there was not dhclient with FreeBSD > standard, it was necessary. > > I updated a patch below. Please review and test. > > http://home.jp.FreeBSD.org/~toshi/pccard-current-20010907.diff Very close. This is essentially the same patch as exists in -stable. Unfortunately, with this patch, no 'static' routes are ever flushed. It would be nice to be able to flush the routes add via static_route_interface. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message