summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-12-27 21:34:16 +0000
committerErmal <eri@pfsense.org>2013-12-27 21:34:16 +0000
commitd68494e6ed6038d632738a8775dfc598f46d71e0 (patch)
tree75310176385d333f59f274405d304ce5e9c7f92d /etc/rc.newwanip
parent57b02731c1d21f56d7e2106c6a569b4fcc528b57 (diff)
downloadpfsense-d68494e6ed6038d632738a8775dfc598f46d71e0.zip
pfsense-d68494e6ed6038d632738a8775dfc598f46d71e0.tar.gz
Correct the check to what was intended
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-xetc/rc.newwanip2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index 3186f0f..5926433 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -82,7 +82,7 @@ else {
$curwanip = find_interface_ip($interface_real, true);
if($curwanip == "")
$curwanip = get_interface_ip($interface);
- if (($curwanip == "") && !isset($config['interfaces'][$interface]['ipaddr']) && !empty($config['interfaces'][$interface]['ipaddr'])) {
+ if (($curwanip == "") && empty($config['interfaces'][$interface]['ipaddr'])) {
log_error("Interface does not have an IP address, nothing to do.");
return;
}
OpenPOWER on IntegriCloud