diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-07-01 19:15:21 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-07-01 19:15:21 +0000 |
commit | d201962202658c979c5648b0bd581fefe561dd06 (patch) | |
tree | 098d5e5dd308ec4e2b885976ebac071d2b38461b /usr/local/www | |
parent | 43b795f805491d0eba11293cc763e3569580534e (diff) | |
download | pfsense-d201962202658c979c5648b0bd581fefe561dd06.zip pfsense-d201962202658c979c5648b0bd581fefe561dd06.tar.gz |
Check for bridged interface correctly
Ticket #1027
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/services_captiveportal.php | 2 |
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; } |