diff options
author | brooks <brooks@FreeBSD.org> | 2006-09-20 19:48:31 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2006-09-20 19:48:31 +0000 |
commit | 68deeefe49d795a13cd2eabf78039baab801a29e (patch) | |
tree | 8669f99079a88212f7a4ff1c3e881a044d112ff8 /etc | |
parent | 6e1b63c8977158abbdba85b161b81f88960a59bb (diff) | |
download | FreeBSD-src-68deeefe49d795a13cd2eabf78039baab801a29e.zip FreeBSD-src-68deeefe49d795a13cd2eabf78039baab801a29e.tar.gz |
Flushing all IPv4 routes when an interface is removed or unconfigured
makes no sense. Remove the undocumented removable_route_flush feature
from pccard_ether.
X-MFC after: never
Diffstat (limited to 'etc')
-rw-r--r-- | etc/defaults/rc.conf | 1 | ||||
-rwxr-xr-x | etc/pccard_ether | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index c78ed0c..925b5ff 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -40,7 +40,6 @@ kldxref_clobber="NO" # Overwrite old linker.hints at boot. kldxref_module_path="" # Override kern.module_path. A ';'-delimited list. powerd_enable="NO" # Run powerd to lower our power usage. powerd_flags="" # Flags to powerd (if enabled). -removable_route_flush="NO" # Flush routes when removing an interface tmpmfs="AUTO" # Set to YES to always create an mfs /tmp, NO to never tmpsize="20m" # Size of mfs /tmp if created tmpmfs_flags="-S -M" # Extra mdmfs options for the mfs /tmp diff --git a/etc/pccard_ether b/etc/pccard_ether index 355e188..d8128da 100755 --- a/etc/pccard_ether +++ b/etc/pccard_ether @@ -106,11 +106,6 @@ pccard_ether_stop() # clean ARP table ifexists $ifn && arp -d -i $ifn -a - - # Clean the routing table - if checkyesno removable_route_flush; then - route -n flush -inet > /dev/null - fi } pccard_ether_restart() |