summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Smith <mgsmith@netgate.com>2014-06-02 15:46:18 -0500
committerMatt Smith <mgsmith@netgate.com>2014-06-03 13:18:57 -0500
commit466cabedd6646916965c8671a9eef1a7192901c4 (patch)
tree166e7eb0c4c9b838f4b7b746c4f288485dcebf5d
parentbc76b18eb9f5353d5422e661c6b8f5e813a000e4 (diff)
downloadpfsense-466cabedd6646916965c8671a9eef1a7192901c4.zip
pfsense-466cabedd6646916965c8671a9eef1a7192901c4.tar.gz
allow ipaliases to be configured on lo0
-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