From 2aa80139d3512a0f3d5d8adce98aa90629342632 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 18 Feb 2007 20:20:41 +0000 Subject: Note the interface that we are working on in the logs to ensure that we are obtaining the IP address correctly initially --- etc/rc.newwanip | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/rc.newwanip b/etc/rc.newwanip index 29df929..03ac976 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -36,12 +36,12 @@ require_once("globals.inc"); require_once("config.inc"); require_once("functions.inc"); -log_error("Informational: rc.newwanip is starting."); - /* WAN IP address has changed */ $argument = str_replace("\n", "", $argv[1]); +log_error("Informational: rc.newwanip is starting {$argument}."); + if($argument <> "") { $curwanip = find_interface_ip($argument); $interface = convert_real_interface_to_friendly_interface_name($argument); -- cgit v1.1