diff options
author | Colin Smith <colin@pfsense.org> | 2005-04-02 06:27:05 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-04-02 06:27:05 +0000 |
commit | af2ecddf90f89e7d340113aa0b3c4d94d869d8c8 (patch) | |
tree | 0b02975ccf919eb8e6c806b6d64f877717b4a2e2 /usr/local/www | |
parent | d1ac9e4e42524fde45b2433525b8c564d9fc85b1 (diff) | |
download | pfsense-af2ecddf90f89e7d340113aa0b3c4d94d869d8c8.zip pfsense-af2ecddf90f89e7d340113aa0b3c4d94d869d8c8.tar.gz |
* Add signature handling for arrays.
* Fix pfsense.filter_configure.
* Fix multicallish pfsense.restore_config_section.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/xmlrpc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/xmlrpc.php b/usr/local/www/xmlrpc.php index 6694991..fbb3824 100755 --- a/usr/local/www/xmlrpc.php +++ b/usr/local/www/xmlrpc.php @@ -102,7 +102,7 @@ function backup_config_section_xmlrpc($raw_params) { } $restore_config_section_doc = 'XMLRPC wrapper for restore_config_section. This method must be called with three parameters: a string containing the local system\'s password, a string containing the section to be restored, and a string containing the returned value of backup_config_section() for that section. This function returns true upon completion.'; -$restore_config_section_sig = array(array(boolean, string, string, string)); +$restore_config_section_sig = array(array(boolean, string, array(), array())); function restore_config_section_xmlrpc($raw_params) { $params = xmlrpc_params_to_php($raw_params); @@ -122,7 +122,7 @@ function filter_configure_xmlrpc($raw_params) { $params = xmlrpc_params_to_php($raw_params); if(!xmlrpc_auth($params)) return new XML_RPC_Response(new XML_RPC_Value("auth_failure", 'string')); filter_configure(); - return new XML_PRC_Response(new XML_RPC_Value(true, 'boolean')); + return new XML_RPC_Response(new XML_RPC_Value(true, 'boolean')); } $server = new XML_RPC_Server( |