]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Remove ARPCHECK and ARPSEND code.
authorTed Lemon <source@isc.org>
Thu, 11 Mar 1999 01:47:01 +0000 (01:47 +0000)
committerTed Lemon <source@isc.org>
Thu, 11 Mar 1999 01:47:01 +0000 (01:47 +0000)
client/scripts/netbsd

index 77fdc5c9f26ee54fb723697e249566dd0bc0f0c8..ec1addf4ddf0588c28cb925c4a2f0a022ac22d59 100755 (executable)
@@ -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