mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
This tag could be present, but empty. Skip processing if the interface has no IP address.
This commit is contained in:
parent
63f7282808
commit
629f07c331
@ -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']))) {
|
||||
if (($curwanip == "") && !isset($config['interfaces'][$interface]['ipaddr']) && !empty($config['interfaces'][$interface]['ipaddr'])) {
|
||||
log_error("Interface does not have an IP address, nothing to do.");
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user