diff options
author | Ermal <eri@pfsense.org> | 2011-05-18 21:56:13 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-05-18 21:56:13 +0000 |
commit | c415a55bd3466bb9c67e9a6f81b88b285f9bd7b5 (patch) | |
tree | 273dd60bc72dfb9f472e7d18e37ef4948e2eca97 /usr/local | |
parent | bb4fcffd7d89b48429bae5f8913f5c17bfee6952 (diff) | |
download | pfsense-c415a55bd3466bb9c67e9a6f81b88b285f9bd7b5.zip pfsense-c415a55bd3466bb9c67e9a6f81b88b285f9bd7b5.tar.gz |
Micro optimization.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/xmlrpc.php | 2 |
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; } } |