diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-08-12 21:24:26 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-08-12 21:24:26 +0000 |
commit | 6c0327f13f0e3796eb678d01290142c9dfd4dd1a (patch) | |
tree | e0f03f6b49598e9733da1b2ba8f39fa3a301fd88 /sbin/dhclient-script | |
parent | 6e41522cec04fba2b122ef1f0b51e9e81d01c1b6 (diff) | |
download | pfsense-6c0327f13f0e3796eb678d01290142c9dfd4dd1a.zip pfsense-6c0327f13f0e3796eb678d01290142c9dfd4dd1a.tar.gz |
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.
Diffstat (limited to 'sbin/dhclient-script')
-rwxr-xr-x | sbin/dhclient-script | 2 |
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};'` |