]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
network_number, not network_address.
authorTed Lemon <source@isc.org>
Mon, 18 May 1998 05:29:23 +0000 (05:29 +0000)
committerTed Lemon <source@isc.org>
Mon, 18 May 1998 05:29:23 +0000 (05:29 +0000)
client/scripts/linux

index e01346150376ddb03842d6fc1b40817b4871c29c..f97539dd23ffc3ae10aec699824829e8e661051f 100755 (executable)
@@ -77,7 +77,7 @@ if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \
     ifconfig $interface inet $new_ip_address $new_subnet_arg \
                                        $new_broadcast_arg
     # Add a network route to the computed network address.
-    route add -net $new_network_address $new_subnet_arg dev $interface
+    route add -net $new_network_number $new_subnet_arg dev $interface
     for router in $new_routers; do
       route add default gw $router
     done
@@ -125,7 +125,7 @@ if [ x$reason = xTIMEOUT ]; then
       ifconfig $interface:0 inet $alias_ip_address $alias_subnet_arg
       route add -host $alias_ip_address dev $interface:0
     fi
-    route add -net $new_network_address
+    route add -net $new_network_number
     for router in $new_routers; do
       route add default gw $router
     done