summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_captiveportal.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-07-01 19:15:21 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-07-01 19:15:21 +0000
commitd201962202658c979c5648b0bd581fefe561dd06 (patch)
tree098d5e5dd308ec4e2b885976ebac071d2b38461b /usr/local/www/services_captiveportal.php
parent43b795f805491d0eba11293cc763e3569580534e (diff)
downloadpfsense-d201962202658c979c5648b0bd581fefe561dd06.zip
pfsense-d201962202658c979c5648b0bd581fefe561dd06.tar.gz
Check for bridged interface correctly
Ticket #1027
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 a0dcd7d..ceabc3d 100755
--- a/usr/local/www/services_captiveportal.php
+++ b/usr/local/www/services_captiveportal.php
@@ -90,7 +90,7 @@ if ($_POST) {
/* make sure no interfaces are bridged */
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
$coptif = &$config['interfaces']['opt' . $i];
- if (isset($coptif['enable']) && $coptif['bridge']) {
+ if (isset($coptif['enable']) && $coptif['bridge'] == $pconfig['cinterface']) {
$input_errors[] = "The captive portal cannot be used when one or more interfaces are bridged.";
break;
}
OpenPOWER on IntegriCloud