summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc.newwanip4
1 files changed, 0 insertions, 4 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index df00148..9c92099 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -84,10 +84,6 @@ else {
$curwanip = find_interface_ip($interface_real, true);
if($curwanip == "")
$curwanip = get_interface_ip($interface);
- if (($curwanip == "") && empty($config['interfaces'][$interface]['ipaddr'])) {
- log_error("Interface does not have an IP address, nothing to do.");
- return;
- }
}
log_error("rc.newwanip: on (IP address: {$curwanip}) (interface: {$interface_descr}[{$interface}]) (real interface: {$interface_real}).");
OpenPOWER on IntegriCloud