From 116328449c4462aba19b57e2097ba1ceb9edae69 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Thu, 11 Mar 1999 01:47:01 +0000 Subject: [PATCH] Remove ARPCHECK and ARPSEND code. --- client/scripts/netbsd | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/client/scripts/netbsd b/client/scripts/netbsd index 77fdc5c9..ec1addf4 100755 --- a/client/scripts/netbsd +++ b/client/scripts/netbsd @@ -38,10 +38,6 @@ if [ x$reason = xPREINIT ]; then exit 0 fi -if [ x$reason = xARPCHECK ] || [ x$reason = xARPSEND ]; then - exit 0; -fi - if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \ [ x$reason = xREBIND ] || [ x$reason = xREBOOT ]; then if [ x$old_ip_address != x ] && [ x$alias_ip_address != x ] && \ @@ -49,7 +45,8 @@ if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \ ifconfig $interface inet -alias $alias_ip_address > /dev/null 2>&1 route delete $alias_ip_address 127.0.0.1 > /dev/null 2>&1 fi - if [ x$old_ip_address != x ] && [ x$old_ip_address != x$new_ip_address ]; then + if [ x$old_ip_address != x ] && [ x$old_ip_address != x$new_ip_address ] + then ifconfig $interface inet -alias $old_ip_address $medium route delete $old_ip_address 127.1 >/dev/null 2>&1 for router in $old_routers; do