summaryrefslogtreecommitdiffstats
path: root/etc/pccard_ether
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2006-09-20 19:48:31 +0000
committerbrooks <brooks@FreeBSD.org>2006-09-20 19:48:31 +0000
commit68deeefe49d795a13cd2eabf78039baab801a29e (patch)
tree8669f99079a88212f7a4ff1c3e881a044d112ff8 /etc/pccard_ether
parent6e1b63c8977158abbdba85b161b81f88960a59bb (diff)
downloadFreeBSD-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/pccard_ether')
-rwxr-xr-xetc/pccard_ether5
1 files changed, 0 insertions, 5 deletions
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()
OpenPOWER on IntegriCloud