summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorMatt Smith <mgsmith@netgate.com>2014-06-02 15:46:18 -0500
committerMatt Smith <mgsmith@netgate.com>2014-06-02 15:46:18 -0500
commited10564bfe664e0c4723217cded9e134b9d82a08 (patch)
treef223abc6bfac0c50479fd93f0028c2ada7463a50 /etc/inc/interfaces.inc
parent0db055f097510b72854397dfa9cafb88851d6235 (diff)
downloadpfsense-ed10564bfe664e0c4723217cded9e134b9d82a08.zip
pfsense-ed10564bfe664e0c4723217cded9e134b9d82a08.tar.gz
allow ipaliases to be configured on lo0
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 db5bf74..76c7418 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2124,10 +2124,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