diff options
-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 6533e48..f1c77f2 100755 --- a/sbin/dhclient-script +++ b/sbin/dhclient-script @@ -82,7 +82,7 @@ add_new_address() { # This is necessary otherwise apinger will try to ping all 1s address - if [ "$new_routers" = "255.255.255.255" ]; then + if [ "$new_routers" != "255.255.255.255" ]; then echo $new_routers > /tmp/${interface}_router fi echo $new_ip_address > /var/db/${interface}_ip |