diff options
author | nate <nate@FreeBSD.org> | 1997-11-20 22:31:11 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1997-11-20 22:31:11 +0000 |
commit | d3bfedd38f4fc06ab65d4eb807b4ae2732aa5415 (patch) | |
tree | dd67e14c6c0055c61a426bf31d9136f3fef9c061 /etc/pccard_ether | |
parent | 8feb0ae52506269f94e1d4f95295b2bc2094e8d4 (diff) | |
download | FreeBSD-src-d3bfedd38f4fc06ab65d4eb807b4ae2732aa5415.zip FreeBSD-src-d3bfedd38f4fc06ab65d4eb807b4ae2732aa5415.tar.gz |
- In addtition to flushing the routes, also flush the arp cache when bringing
up the new network link.
Submitted by: Guido van Rooij <guido@gvr.org>
Diffstat (limited to 'etc/pccard_ether')
-rwxr-xr-x | etc/pccard_ether | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/pccard_ether b/etc/pccard_ether index b8a6c59..4084ea7 100755 --- a/etc/pccard_ether +++ b/etc/pccard_ether @@ -1,8 +1,8 @@ #!/bin/sh - # -# pccardether interfacename [ifconfig option] +# pccard_ether interfacename [ifconfig option] # -# example: pccardether ep0 -link0 +# example: pccard_ether ep0 -link0 # # Suck in the /etc/rc.conf variables @@ -29,6 +29,7 @@ fi if [ "x${static_routes}" != "x" ]; then # flush beforehand, just in case.... route -n flush + arp -d -a for i in ${static_routes}; do eval route_args=\$route_${i} route add ${route_args} |