summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 9310f49..f5aee01 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2103,10 +2103,10 @@ function interface_ipalias_configure(&$vip) {
if ($vip['mode'] != "ipalias")
return;
- if (!isset($config['interfaces'][$vip['interface']]))
+ if ($vip['interface'] != 'lo0' && !isset($config['interfaces'][$vip['interface']]))
return;
- if (!isset($config['interfaces'][$vip['interface']]['enable']))
+ if ($vip['interface'] != 'lo0' && !isset($config['interfaces'][$vip['interface']]['enable']))
return;
$if = get_real_interface($vip['interface']);
OpenPOWER on IntegriCloud