diff options
author | Alexander Wilke <nachtfalkeaw@web.de> | 2012-10-01 21:49:37 +0300 |
---|---|---|
committer | Alexander Wilke <nachtfalkeaw@web.de> | 2012-10-01 21:49:37 +0300 |
commit | e91adece7f27fbda93f96571c3e2efa32631d98f (patch) | |
tree | 960e0fc48a0b248f9959e193e6fed7857b80c1e3 /config | |
parent | c3bd614278cecfc421d7c0c81459b2bf61b54091 (diff) | |
download | pfsense-packages-e91adece7f27fbda93f96571c3e2efa32631d98f.tar.gz pfsense-packages-e91adece7f27fbda93f96571c3e2efa32631d98f.tar.bz2 pfsense-packages-e91adece7f27fbda93f96571c3e2efa32631d98f.zip |
Update config/freeradius2/freeradius.inc
typo
Diffstat (limited to 'config')
-rw-r--r-- | config/freeradius2/freeradius.inc | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/config/freeradius2/freeradius.inc b/config/freeradius2/freeradius.inc index 92ec2e4f..79aaa5bd 100644 --- a/config/freeradius2/freeradius.inc +++ b/config/freeradius2/freeradius.inc @@ -2465,25 +2465,24 @@ function freeradius_sync_on_changes() { return; } - log_error("FreeRADIUS: Starting XMLRPC process (freeradius_do_xmlrpc_sync)."); - log_error("FreeRADIUS: Starting XMLRPC with time out: {$varsynctimeout}."); + log_error("FreeRADIUS: Starting XMLRPC process (freeradius_do_xmlrpc_sync) with timeout {$varsynctimeout} seconds."); // if checkbox is checked get IP and password of the destination hosts foreach ($config['installedpackages']['freeradiussync']['config'] as $rs ){ foreach($rs['row'] as $sh){ // if checkbox is NOT checked do nothing if($sh['varsyncdestinenable']) { - $varsyncprotocol = $sh['varsyncprotocol']; - $sync_to_ip = $sh['varsyncipaddress']; - $password = $sh['varsyncpassword']; - $varsyncport = $sh['varsyncport']; - if($password && $sync_to_ip && $varsyncport && $varsyncprotocol) + $varsyncprotocol = $sh['varsyncprotocol']; + $sync_to_ip = $sh['varsyncipaddress']; + $password = $sh['varsyncpassword']; + $varsyncport = $sh['varsyncport']; + if($password && $sync_to_ip && $varsyncport && $varsyncprotocol) freeradius_do_xmlrpc_sync($sync_to_ip, $password, $varsyncport, $varsyncprotocol); - } - else { - log_error("FreeRADIUS: Sync with {$sh['varsyncipaddress']} is disable"); - } - } + } + else { + log_error("FreeRADIUS: XMLRPC Sync with {$sh['varsyncipaddress']} is disabled"); + } + } } log_error("FreeRADIUS: Finished XMLRPC process (freeradius_do_xmlrpc_sync)."); } |