summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-02-11 10:28:25 +0100
committerErmal <eri@pfsense.org>2014-02-11 10:28:25 +0100
commit6ce0e31c66128746be4cdef256bcaaec209f616d (patch)
treec6247194451d2be2ac54a3101807b4fa6007a58a /etc
parent5ba0cdf694fb1cf1861fd8bdd95f71ca4a3a263e (diff)
downloadpfsense-6ce0e31c66128746be4cdef256bcaaec209f616d.zip
pfsense-6ce0e31c66128746be4cdef256bcaaec209f616d.tar.gz
When adding ip aliases on top of carp not in the subnet of the carp configured address but an ip alias of the real interface do not error out but accept this as a valid configuration.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index feb2cff..22a109f 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -4117,7 +4117,7 @@ function find_carp_interface($ip) {
function link_carp_interface_to_parent($interface) {
global $config;
- if ($interface == "")
+ if (empty($interface))
return;
$carp_ip = get_interface_ip($interface);
OpenPOWER on IntegriCloud