summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-06-02 16:43:09 +0930
committerPhil Davis <phil.davis@inf.org>2016-06-02 16:43:09 +0930
commit9a9b000767749bcb54f3583cd6099dddb6d555db (patch)
tree464f519720334ff370f0a00bdfa81006f6e63bac /src/usr/local/www
parentbf19eec78a2ac5321018b61678b6365db1623432 (diff)
downloadpfsense-9a9b000767749bcb54f3583cd6099dddb6d555db.zip
pfsense-9a9b000767749bcb54f3583cd6099dddb6d555db.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/usr/local/www')
-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