From a884031712da057b3c5325406e5543a13a205a7b Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 18 Feb 2007 20:24:46 +0000 Subject: Log more information during rc.newwanip --- etc/rc.newwanip | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc/rc.newwanip') 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"); -- cgit v1.1