summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-01-21 23:52:09 +0545
committerPhil Davis <phil.davis@inf.org>2016-01-21 23:52:09 +0545
commit29e5cbb44f56527334807c19c8d56651dcda91f1 (patch)
treed2915447172fc7a4445fea206aab7124423fe440 /src
parentef378560d1982cd5ecb93475ef9da12ce19b6a31 (diff)
downloadpfsense-29e5cbb44f56527334807c19c8d56651dcda91f1.zip
pfsense-29e5cbb44f56527334807c19c8d56651dcda91f1.tar.gz
xmlrpc signature and docstring
A few of the entries in this array had dodgy var references. I don't think anything would have caused an actual error.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/usr/local/www/xmlrpc.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/usr/local/www/xmlrpc.php b/src/usr/local/www/xmlrpc.php
index b70f592..559a168 100755
--- a/src/usr/local/www/xmlrpc.php
+++ b/src/usr/local/www/xmlrpc.php
@@ -344,8 +344,8 @@ function restore_config_section_xmlrpc($raw_params) {
}
/*****************************/
-$merge_config_section_doc = gettext("XMLRPC wrapper for merging package sections. This method must be called with two parameters: a string containing the local system\'s password and an array to merge into the system\'s config. This function returns true upon completion.");
-$merge_config_section_sig = array(
+$merge_installedpackages_section_doc = gettext("XMLRPC wrapper for merging package sections. This method must be called with two parameters: a string containing the local system\'s password and an array to merge into the system\'s config. This function returns true upon completion.");
+$merge_installedpackages_section_sig = array(
array(
$XML_RPC_Boolean,
$XML_RPC_String,
@@ -552,7 +552,8 @@ $server = new XML_RPC_Server(
'signature' => $filter_configure_sig,
'docstring' => $filter_configure_doc),
'pfsense.interfaces_carp_configure' => array('function' => 'interfaces_carp_configure_xmlrpc',
- 'docstring' => $carp_configure_sig),
+ 'signature' => $carp_configure_sig,
+ 'docstring' => $carp_configure_doc),
'pfsense.backup_config_section' => array('function' => 'backup_config_section_xmlrpc',
'signature' => $backup_config_section_sig,
'docstring' => $backup_config_section_doc),
@@ -563,11 +564,11 @@ $server = new XML_RPC_Server(
'signature' => $merge_config_section_sig,
'docstring' => $merge_config_section_doc),
'pfsense.merge_installedpackages_section_xmlrpc' => array('function' => 'merge_installedpackages_section_xmlrpc',
- 'signature' => $merge_config_section_sig,
- 'docstring' => $merge_config_section_doc),
+ 'signature' => $merge_installedpackages_section_sig,
+ 'docstring' => $merge_installedpackages_section_doc),
'pfsense.host_firmware_version' => array('function' => 'pfsense_firmware_version_xmlrpc',
'signature' => $pfsense_firmware_version_sig,
- 'docstring' => $host_firmware_version_doc),
+ 'docstring' => $pfsense_firmware_version_doc),
'pfsense.reboot' => array('function' => 'reboot_xmlrpc',
'signature' => $reboot_sig,
'docstring' => $reboot_doc),
OpenPOWER on IntegriCloud