aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Wilke <nachtfalkeaw[@]web.de>2012-01-27 07:59:19 +0100
committerAlexander Wilke <nachtfalkeaw[@]web.de>2012-01-27 07:59:19 +0100
commit938817c9771f62da5c76bcf88daa6d87a0d81b5a (patch)
treed6f94cd05546fc49cd7b1493d675d5a4cf43790c
parent1cfa663a6d7fcf8c9132b9014c974240883cadae (diff)
downloadpfsense-packages-938817c9771f62da5c76bcf88daa6d87a0d81b5a.tar.gz
pfsense-packages-938817c9771f62da5c76bcf88daa6d87a0d81b5a.tar.bz2
pfsense-packages-938817c9771f62da5c76bcf88daa6d87a0d81b5a.zip
fixed a bug when shortname of NAS contains whitespace(s)
-rw-r--r--config/freeradius2/freeradius.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/freeradius2/freeradius.inc b/config/freeradius2/freeradius.inc
index 11aa4b3b..12ef32d4 100644
--- a/config/freeradius2/freeradius.inc
+++ b/config/freeradius2/freeradius.inc
@@ -706,7 +706,7 @@ function freeradius_clients_resync() {
$varclientmaxconnections = $item['varclientmaxconnections'];
$conf .= <<<EOD
-client $varclientshortname {
+client "$varclientshortname" {
$varclientipversion = $varclientip
proto = $varclientproto
secret = $varclientsharedsecret