From dfbd0052d224bb65bc706cfed9e1a9266386b51a Mon Sep 17 00:00:00 2001 From: PiBa-NL Date: Thu, 22 Sep 2016 20:00:51 +0200 Subject: 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 --- src/etc/rc.filter_synchronize | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/etc/rc.filter_synchronize') 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; -- cgit v1.1