From 6c0327f13f0e3796eb678d01290142c9dfd4dd1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=C3=A7i?= Date: Tue, 12 Aug 2008 21:24:26 +0000 Subject: Remove bogus commands that adds a route to the new address pointing to dhcp. It seems uncertain either to be a typo of $new_ip_address and $old_ip_address my test show that either cases it does more harm than good. For now remove it altogether since it causes strange issues and makes ipsec tunnels not work on the interface with the new address. --- sbin/dhclient-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/dhclient-script b/sbin/dhclient-script index ad22323..d88053c 100755 --- a/sbin/dhclient-script +++ b/sbin/dhclient-script @@ -129,7 +129,7 @@ delete_old_routes() { add_new_routes() { $LOGGER "Adding new routes" - $ROUTE add $new_ip_address $LOCALHOST >/dev/null 2>&1 + # $ROUTE add $new_ip_address $LOCALHOST >/dev/null 2>&1 # Only allow the default route to be overridden if it's on our own interface DEFAULTROUTE_IFACE=`route get default | grep interface | awk '{print $2};'` -- cgit v1.1