summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/voucher.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/inc/voucher.inc')
-rw-r--r--src/etc/inc/voucher.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/etc/inc/voucher.inc b/src/etc/inc/voucher.inc
index 9144daa..94fcd66 100644
--- a/src/etc/inc/voucher.inc
+++ b/src/etc/inc/voucher.inc
@@ -42,7 +42,7 @@ function xmlrpc_sync_voucher_expire($vouchers, $syncip, $port, $password, $usern
voucher_expire("$vouchers");
EOF;
- $rpc_client = new pfsense_xmlrpc_client($syncip, $port, $username, $password);
+ $rpc_client = new pfsense_xmlrpc_client_extended($syncip, $port, $username, $password);
$resp = $rpc_client->xmlrpc_exec_php($execcmd);
if (empty($resp)) {
return false;
@@ -66,7 +66,7 @@ function xmlrpc_sync_voucher_disconnect($dbent, $syncip, $port, $password, $user
captiveportal_disconnect(\$dbent, \$radiusservers, $term_cause, $tmp_stop_time);
EOF;
- $rpc_client = new pfsense_xmlrpc_client($syncip, $port, $username, $password);
+ $rpc_client = new pfsense_xmlrpc_client_extended($syncip, $port, $username, $password);
$resp = $rpc_client->xmlrpc_exec_php($execcmd);
if (empty($resp)) {
return false;
@@ -90,7 +90,7 @@ function xmlrpc_sync_used_voucher($voucher_received, $syncip, $port, $password,
\$toreturn['voucher']['roll'] = \$config['voucher'][\$cpzone]['roll'];
EOF;
- $rpc_client = new pfsense_xmlrpc_client($syncip, $port, $username, $password);
+ $rpc_client = new pfsense_xmlrpc_client_extended($syncip, $port, $username, $password);
$resp = $rpc_client->xmlrpc_exec_php($execcmd);
if (!is_array($config['voucher'])) {
OpenPOWER on IntegriCloud