summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-05-18 21:56:13 +0000
committerErmal <eri@pfsense.org>2011-05-18 21:56:13 +0000
commitc415a55bd3466bb9c67e9a6f81b88b285f9bd7b5 (patch)
tree273dd60bc72dfb9f472e7d18e37ef4948e2eca97 /usr/local
parentbb4fcffd7d89b48429bae5f8913f5c17bfee6952 (diff)
downloadpfsense-c415a55bd3466bb9c67e9a6f81b88b285f9bd7b5.zip
pfsense-c415a55bd3466bb9c67e9a6f81b88b285f9bd7b5.tar.gz
Micro optimization.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/xmlrpc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/xmlrpc.php b/usr/local/www/xmlrpc.php
index 7ddbfc6..a732b95 100755
--- a/usr/local/www/xmlrpc.php
+++ b/usr/local/www/xmlrpc.php
@@ -166,7 +166,7 @@ function restore_config_section_xmlrpc($raw_params) {
foreach ($config['virtualip']['vip'] as $vipindex => $vip) {
if ($vip['mode'] == "carp")
$oldvips[$vip['vhid']] = "{$vip['password']}{$vip['advskew']}{$vip['subnet']}{$vip['subnet_bits']}{$vip['advbase']}";
- if ((($vip['mode'] == 'ipalias') || ($vip['mode'] == 'proxyarp')) && substr($vip['interface'], 0, 3) != "vip")
+ else if ((($vip['mode'] == 'ipalias') || ($vip['mode'] == 'proxyarp')) && substr($vip['interface'], 0, 3) != "vip")
$vipbackup[] = $vip;
}
}
OpenPOWER on IntegriCloud