diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-11-20 17:34:59 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-11-20 17:34:59 -0500 |
commit | 8831267c83e66c7247b99f3539a942cb03eaeb38 (patch) | |
tree | df906da1e13b954cd76f58abbda3f7b87b122e76 /config/haproxy/haproxy.inc | |
parent | 83fda4c08dae4da71aee83b2a06d48bcdf2bef30 (diff) | |
download | pfsense-packages-8831267c83e66c7247b99f3539a942cb03eaeb38.tar.gz pfsense-packages-8831267c83e66c7247b99f3539a942cb03eaeb38.tar.bz2 pfsense-packages-8831267c83e66c7247b99f3539a942cb03eaeb38.zip |
Prevent sync loops
Diffstat (limited to 'config/haproxy/haproxy.inc')
-rw-r--r-- | config/haproxy/haproxy.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/haproxy/haproxy.inc b/config/haproxy/haproxy.inc index 31dd7ba5..e5aabb38 100644 --- a/config/haproxy/haproxy.inc +++ b/config/haproxy/haproxy.inc @@ -270,6 +270,12 @@ function haproxy_do_xmlrpc_sync($sync_to_ip, $password) { $xml = array(); $xml['haproxy'] = $config['installedpackages']['haproxy']; + // Prevent sync loops + unset($xml['synchost1']); + unset($xml['synchost2']); + unset($xml['synchost3']); + unset($xml['syncpassword']); + /* assemble xmlrpc payload */ $params = array( XML_RPC_encode($password), |