diff options
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-x | etc/rc.newwanip | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip index bb2c6d4..1c5b640 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -59,6 +59,7 @@ log_error("rc.newwanip working with IP address {$curwanip} {$interface} {$interf if($curwanip == "0.0.0.0") { log_error("Failed to update WAN IP, restarting dhclient."); exec("dhclient $interface_real"); + exit; } /* grab the prior ip for pftpx tests */ |