summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-18 20:24:46 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-18 20:24:46 +0000
commita884031712da057b3c5325406e5543a13a205a7b (patch)
tree0324f0eb7aead846bd79b843dea07807c5e0031b /etc/rc.newwanip
parent2aa80139d3512a0f3d5d8adce98aa90629342632 (diff)
downloadpfsense-a884031712da057b3c5325406e5543a13a205a7b.zip
pfsense-a884031712da057b3c5325406e5543a13a205a7b.tar.gz
Log more information during rc.newwanip
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