summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-13 18:03:56 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-13 18:03:56 +0000
commitabe71710c305244f18d564391188760d60f38c4d (patch)
tree1c1e44f40f96fc81fff67396df58b5b8c9323d11
parent01cefb7e2f4f68a9ea2f56b04b363a84c3828240 (diff)
downloadpfsense-abe71710c305244f18d564391188760d60f38c4d.zip
pfsense-abe71710c305244f18d564391188760d60f38c4d.tar.gz
Pass correct amount of parms
-rw-r--r--etc/inc/filter.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index c63de15..517b8b6 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -2370,7 +2370,7 @@ function carp_sync_client() {
}
$port = $config['system']['webgui']['port'];
/* if port is empty lets rely on the protocol selection */
- if($port == "") {
+ if(!is_int($port)) {
if($config['system']['webgui']['protocol'] == "http") {
$port = "80";
} else {
@@ -2417,7 +2417,7 @@ function carp_sync_client() {
$sections[] = new XML_RPC_Value('load_balancer', 'string');
}
if(count($sections) > 0) {
- carp_sync_xml($synchronizetoip, $carp['password'], $sections, $sections_xml, $port);
+ carp_sync_xml($synchronizetoip, $carp['password'], $sections, $sections_xml, false, $port);
$cli = new XML_RPC_Client('/xmlrpc.php', $synchronizetoip, $port);
$msg = new XML_RPC_Message('pfsense.filter_configure', array(new XML_RPC_Value($carp['password'], 'string')));
$cli->setCredentials('admin', $carp['password']);
OpenPOWER on IntegriCloud