From d3bfedd38f4fc06ab65d4eb807b4ae2732aa5415 Mon Sep 17 00:00:00 2001 From: nate Date: Thu, 20 Nov 1997 22:31:11 +0000 Subject: - In addtition to flushing the routes, also flush the arp cache when bringing up the new network link. Submitted by: Guido van Rooij --- etc/pccard_ether | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'etc/pccard_ether') 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} -- cgit v1.1