This is updated for dhcp3-client version 3.0.1-2, too bad this probably won't make sarge :/
Is there a reason why this patch isn't acceptable?


--- dhclient-script.old 2005-05-15 11:43:01.610289528 +0300
+++ dhclient-script     2005-05-15 11:37:55.771784048 +0300
@@ -157,6 +157,13 @@
            ifconfig $interface inet $new_ip_address $new_subnet_arg \
                $new_broadcast_arg $mtu_arg

+            # point to point
+            if [ "$new_subnet_mask" == "255.255.255.255" ]; then
+                for router in $new_routers; do
+                    route add -host $router dev $interface
+                done
+            fi
+
            for router in $new_routers; do
                route add default dev $interface gw $router $metric_arg
            done

Regards,
Faidon




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to