summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-06-02 16:43:09 +0930
committerChris Buechler <cmb@pfsense.org>2016-06-02 14:00:24 -0500
commit0ff630f1ac3412069c190d5fcbd43a828f824c82 (patch)
tree6dc5e47bbca23b648c3b07a2342f83bb6ad9cfc9
parent964f77a8c4e973ef0aea7fa64233596b563d9014 (diff)
downloadpfsense-0ff630f1ac3412069c190d5fcbd43a828f824c82.zip
pfsense-0ff630f1ac3412069c190d5fcbd43a828f824c82.tar.gz
Fix #6440 RADIUS issued IPs
This is a checkbox - the state in the config is stored as set or not set. This should fix the reported issue. I don;t have a system right now to test, but the bug seems obvious.
-rw-r--r--src/usr/local/www/vpn_l2tp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/vpn_l2tp.php b/src/usr/local/www/vpn_l2tp.php
index 7284a99..ec1a4d9 100644
--- a/src/usr/local/www/vpn_l2tp.php
+++ b/src/usr/local/www/vpn_l2tp.php
@@ -79,7 +79,7 @@ $pconfig['radiusenable'] = isset($l2tpcfg['radius']['enable']);
$pconfig['radacct_enable'] = isset($l2tpcfg['radius']['accounting']);
$pconfig['radiusserver'] = $l2tpcfg['radius']['server'];
$pconfig['radiussecret'] = $l2tpcfg['radius']['secret'];
-$pconfig['radiusissueips'] = $l2tpcfg['radius']['radiusissueips'];
+$pconfig['radiusissueips'] = isset($l2tpcfg['radius']['radiusissueips']);
$pconfig['n_l2tp_units'] = $l2tpcfg['n_l2tp_units'];
$pconfig['paporchap'] = $l2tpcfg['paporchap'];
$pconfig['secret'] = $l2tpcfg['secret'];
OpenPOWER on IntegriCloud