diff options
author | Ermal <eri@pfsense.org> | 2014-02-11 10:28:25 +0100 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-02-11 10:28:25 +0100 |
commit | 6ce0e31c66128746be4cdef256bcaaec209f616d (patch) | |
tree | c6247194451d2be2ac54a3101807b4fa6007a58a /etc | |
parent | 5ba0cdf694fb1cf1861fd8bdd95f71ca4a3a263e (diff) | |
download | pfsense-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.inc | 2 |
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); |