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:56 -0300
commit7397f64315e8ca55db1b8823b3e6d1f987508c62 (patch)
tree0fabf9f6a226040ebcb905f12cd7d38dc729cb07
parentccefd6031d882c91b81fa535c6410eca03db2252 (diff)
downloadpfsense-7397f64315e8ca55db1b8823b3e6d1f987508c62.zip
pfsense-7397f64315e8ca55db1b8823b3e6d1f987508c62.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 450169c..50746e5 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