summaryrefslogtreecommitdiffstats
path: root/src
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:12 -0500
commit74509a47a31ad23d18da67f0f90b5231bb06c810 (patch)
treee1be0b2f1fb631c482da5ac44d9f7b329d292565 /src
parent2db3eac16a785c0272b9a5346c6bdd5983ce12af (diff)
downloadpfsense-74509a47a31ad23d18da67f0f90b5231bb06c810.zip
pfsense-74509a47a31ad23d18da67f0f90b5231bb06c810.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.
Diffstat (limited to 'src')
-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