diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-02-18 20:20:41 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-02-18 20:20:41 +0000 |
commit | 2aa80139d3512a0f3d5d8adce98aa90629342632 (patch) | |
tree | dd25ce895dfffe9c4913eb7fbe16dfa5143721bf /etc/rc.newwanip | |
parent | 7926fd61bb52a77fe111c356ce342b324b069f8c (diff) | |
download | pfsense-2aa80139d3512a0f3d5d8adce98aa90629342632.zip pfsense-2aa80139d3512a0f3d5d8adce98aa90629342632.tar.gz |
Note the interface that we are working on in the logs to ensure that we are obtaining the IP address correctly initially
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-x | etc/rc.newwanip | 4 |
1 files changed, 2 insertions, 2 deletions
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); |