diff options
author | Matt Smith <mgsmith@netgate.com> | 2014-06-02 15:46:18 -0500 |
---|---|---|
committer | Matt Smith <mgsmith@netgate.com> | 2014-06-03 13:18:57 -0500 |
commit | 466cabedd6646916965c8671a9eef1a7192901c4 (patch) | |
tree | 166e7eb0c4c9b838f4b7b746c4f288485dcebf5d /etc/inc | |
parent | bc76b18eb9f5353d5422e661c6b8f5e813a000e4 (diff) | |
download | pfsense-466cabedd6646916965c8671a9eef1a7192901c4.zip pfsense-466cabedd6646916965c8671a9eef1a7192901c4.tar.gz |
allow ipaliases to be configured on lo0
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/interfaces.inc | 4 |
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']); |