diff options
author | Matt Smith <mgsmith@netgate.com> | 2014-06-02 15:46:18 -0500 |
---|---|---|
committer | Matt Smith <mgsmith@netgate.com> | 2014-06-02 15:46:18 -0500 |
commit | ed10564bfe664e0c4723217cded9e134b9d82a08 (patch) | |
tree | f223abc6bfac0c50479fd93f0028c2ada7463a50 /etc/inc/interfaces.inc | |
parent | 0db055f097510b72854397dfa9cafb88851d6235 (diff) | |
download | pfsense-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.inc | 4 |
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']); |