diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-02-18 20:24:46 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-02-18 20:24:46 +0000 |
commit | a884031712da057b3c5325406e5543a13a205a7b (patch) | |
tree | 0324f0eb7aead846bd79b843dea07807c5e0031b /etc/rc.newwanip | |
parent | 2aa80139d3512a0f3d5d8adce98aa90629342632 (diff) | |
download | pfsense-a884031712da057b3c5325406e5543a13a205a7b.zip pfsense-a884031712da057b3c5325406e5543a13a205a7b.tar.gz |
Log more information during rc.newwanip
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-x | etc/rc.newwanip | 2 |
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"); |