summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.filter_synchronize
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2016-09-22 20:00:51 +0200
committerPiBa-NL <pba_2k3@yahoo.com>2016-10-06 20:12:55 +0200
commitdfbd0052d224bb65bc706cfed9e1a9266386b51a (patch)
treeb18bf16a920b244b6dab5b42b6778fbded046e11 /src/etc/rc.filter_synchronize
parent05100687b3300f44423a2009c25d810a05fe9b26 (diff)
downloadpfsense-dfbd0052d224bb65bc706cfed9e1a9266386b51a.zip
pfsense-dfbd0052d224bb65bc706cfed9e1a9266386b51a.tar.gz
XMLRPC, xmlrpc_client, add new scheme parameter in setConnectionData(syncip,port,user,pass,schema), for use by packages that sync to custom locations, set public/private on all functions
Diffstat (limited to 'src/etc/rc.filter_synchronize')
-rwxr-xr-xsrc/etc/rc.filter_synchronize3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/etc/rc.filter_synchronize b/src/etc/rc.filter_synchronize
index c363ff2..a6f6aa7 100755
--- a/src/etc/rc.filter_synchronize
+++ b/src/etc/rc.filter_synchronize
@@ -212,7 +212,8 @@ function carp_sync_xml($sections) {
$rpc_client = new pfsense_xmlrpc_client();
$resp = $rpc_client->xmlrpc_method('restore_config_section', $xml);
if ($resp != null) {
- update_filter_reload_status("XMLRPC sync successfully completed with {$syncip}:{$port}.");
+ $url = $rpc_client->getUrl();
+ update_filter_reload_status("XMLRPC sync successfully completed with {$url}.");
return true;
}
return false;
OpenPOWER on IntegriCloud