From: Ted Lemon Date: Mon, 18 May 1998 05:29:23 +0000 (+0000) Subject: network_number, not network_address. X-Git-Tag: V2-BETA-2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=196874b6320a30d3de3437911c6641cac90d911c;p=thirdparty%2Fdhcp.git network_number, not network_address. --- diff --git a/client/scripts/linux b/client/scripts/linux index e01346150..f97539dd2 100755 --- a/client/scripts/linux +++ b/client/scripts/linux @@ -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