diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2016-09-22 20:00:51 +0200 |
---|---|---|
committer | PiBa-NL <pba_2k3@yahoo.com> | 2016-10-06 20:12:55 +0200 |
commit | dfbd0052d224bb65bc706cfed9e1a9266386b51a (patch) | |
tree | b18bf16a920b244b6dab5b42b6778fbded046e11 /src/etc/rc.filter_synchronize | |
parent | 05100687b3300f44423a2009c25d810a05fe9b26 (diff) | |
download | pfsense-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-x | src/etc/rc.filter_synchronize | 3 |
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; |