summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-09-10 12:20:09 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-09-10 15:39:01 -0300
commit846dc21c3d6dd134faa9641715f203458d80add5 (patch)
treeb57bf427c8c62fe530075c1de0df0b3e88ccc750
parented5fc7575d99cb1b657cca45fd5571f5102122d8 (diff)
downloadpfsense-846dc21c3d6dd134faa9641715f203458d80add5.zip
pfsense-846dc21c3d6dd134faa9641715f203458d80add5.tar.gz
Fix operator
-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 dc9e277..93733cc 100755
--- a/usr/local/www/xmlrpc.php
+++ b/usr/local/www/xmlrpc.php
@@ -244,7 +244,7 @@ function restore_config_section_xmlrpc($raw_params) {
}
unset($oldvips["{$vip['interface']}_vip{$vip['vhid']}"]);
} else if ($vip['mode'] == "ipalias" && strstr($vip['interface'], "_vip") && isset($oldvips[$vip['subnet']])) {
- if ($oldvips[$vip['subnet']] = "{$vip['interface']}{$vip['subnet']}{$vip['subnet_bits']}") {
+ if ($oldvips[$vip['subnet']] == "{$vip['interface']}{$vip['subnet']}{$vip['subnet_bits']}") {
if (does_vip_exist($vip)) {
unset($oldvips[$vip['subnet']]);
continue; // Skip reconfiguring this vips since nothing has changed.
OpenPOWER on IntegriCloud