diff options
authorErmal Luçi <>2008-08-12 21:24:26 +0000
committerErmal Luçi <>2008-08-12 21:24:26 +0000
commit6c0327f13f0e3796eb678d01290142c9dfd4dd1a (patch)
parent6e41522cec04fba2b122ef1f0b51e9e81d01c1b6 (diff)
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.
1 files changed, 1 insertions, 1 deletions
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};'`
OpenPOWER on IntegriCloud