summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/pfsense-utils.inc2
-rwxr-xr-xusr/local/www/xmlrpc.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 92013e3..8501df1 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -763,7 +763,7 @@ function check_firmware_version($tocheck = "all", $return_php = true) {
/*
* host_firmware_version(): Return the versions used in this install
*/
-function host_firmware_version() {
+function host_firmware_version($tocheck = "") {
global $g, $config;
return array(
diff --git a/usr/local/www/xmlrpc.php b/usr/local/www/xmlrpc.php
index 584e821..5ecf0fc 100755
--- a/usr/local/www/xmlrpc.php
+++ b/usr/local/www/xmlrpc.php
@@ -316,7 +316,7 @@ function pfsense_firmware_version_xmlrpc($raw_params) {
if(!xmlrpc_auth($params))
return $xmlrpc_g['return']['authfail'];
- return new XML_RPC_Response(new XML_RPC_Value(host_firmware_version(), $XML_RPC_String));
+ return new XML_RPC_Response(new XML_RPC_encode(host_firmware_version()));
}
/*****************************/
OpenPOWER on IntegriCloud