summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_captiveportal.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-09-07 20:18:46 +0000
committerErmal <eri@pfsense.org>2011-09-07 20:18:46 +0000
commit5077970883e47de5993f5957951c2f3d0b293638 (patch)
tree0fd9a82d7a421ece3c76e1dc4e9a38a062d34bfa /usr/local/www/services_captiveportal.php
parentebc0e4b6fdaed4d774e7e312994b4dc34ec095fa (diff)
downloadpfsense-5077970883e47de5993f5957951c2f3d0b293638.zip
pfsense-5077970883e47de5993f5957951c2f3d0b293638.tar.gz
Correct check
Diffstat (limited to 'usr/local/www/services_captiveportal.php')
-rwxr-xr-xusr/local/www/services_captiveportal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php
index 4dc88d4..75a7485 100755
--- a/usr/local/www/services_captiveportal.php
+++ b/usr/local/www/services_captiveportal.php
@@ -739,7 +739,7 @@ function enable_change(enable_change) {
$ipaddr = get_interface_ip($ifdesc);
if (is_ipaddr($ipaddr)) {
$selected = "";
- if ($ipaddr == $pconfig['radiussrcip_attribute'])
+ if ($ifdesc == $pconfig['radiussrcip_attribute'])
$selected= "selected";
echo "<option value='{$ifdesc}' {$selected}>{$ifdescr} - {$ipaddr}</option>\n";
}
OpenPOWER on IntegriCloud