Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2001 08:57:08 -0600
From:      Nate Williams <nate@yogotech.com>
To:        Toshihiko ARAI <toshi@jp.FreeBSD.org>
Cc:        nate@yogotech.com (Nate Williams), freebsd-mobile@FreeBSD.ORG
Subject:   Re: [PATCH] pccard_ether and removable_* variables
Message-ID:  <15266.6852.389169.298534@nomad.yogotech.com>
In-Reply-To: <200109141452.f8EEqJF33125.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> <15256.60442.758729.299336@nomad.yogotech.com> <200109141452.f8EEqJF33125.toshi@jp.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> >> >> You may be just right.  However, 'static_routes_<interface>' 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.
> 
> My patches became same.  However, this is a patch for -current.
> And, in -stable, I think that we need a correction of sysinstall.

Agreed.

> > 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.
> 
> Though 'static' route is not done 'flush' of, it is done 'delete'.

Where is this done?  Never mind, I see that it's done in the 'Stop the
interface' code.  I'm not seeing very well these days.

I have no issues at this point, but I don't have time to get this done.

Can you re-send the diff to me in private email, and I'll try and get it
into the tree?  (Unfortunately, it's too late for the patches to
sysinstall for FreeBSD 4.4-RELEASE, but it should be in for later
releases.)



Nate

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




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