diff options
author | Chris Buechler <cmb@pfsense.org> | 2014-11-10 21:37:20 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2014-11-10 21:37:20 -0600 |
commit | b0533f16c414c605d4ef1506907fdd11448f0008 (patch) | |
tree | 80810797d5b19f04a87455384d36f46ccbef069d /sbin/dhclient-script | |
parent | 7cdfe39e4e35bd8d333ed21ce993cab60eefc016 (diff) | |
download | pfsense-b0533f16c414c605d4ef1506907fdd11448f0008.zip pfsense-b0533f16c414c605d4ef1506907fdd11448f0008.tar.gz |
Setting an interface's IP to 0.0.0.0 with mask 0.0.0.0 overwrites the
default route with that interface's link route. Later in dhclient, that
gets deleted and leaves the system with no default route. Using a /32 mask
here works in every scenario I can find, and stops the default route
deletion issues. Ticket #3941
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 01ad272..30de3da 100755 --- a/sbin/dhclient-script +++ b/sbin/dhclient-script @@ -322,7 +322,7 @@ MEDIUM) PREINIT) delete_old_alias - $IFCONFIG $interface inet 0.0.0.0 netmask 0.0.0.0 broadcast 255.255.255.255 up + $IFCONFIG $interface inet 0.0.0.0 netmask 255.255.255.255 broadcast 255.255.255.255 up /bin/rm -f /tmp/${interface}_router ;; |