summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-xetc/rc.newwanip2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index 03ac976..e4af419 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -54,6 +54,8 @@ if($argument <> "") {
$interface_real = $config['interfaces']['wan']['if'];
}
+log_error("Failed to update WAN IP, restarting dhclient.");
+
if($curwanip == "0.0.0.0") {
log_error("Failed to update WAN IP, restarting dhclient.");
exec("dhclient $interface_real");
OpenPOWER on IntegriCloud