From 89b096729d8ef7ec2ffd3dfb4b9368558fec68e1 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 5 Jun 2006 23:19:30 +0000 Subject: [PATCH] We do not allow captive portal to be run on bridges. Much confusion will and silly bug reports are not welcome any longer. --- usr/local/www/services_captiveportal.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php index cbc8022e4e..977357bdb1 100755 --- a/usr/local/www/services_captiveportal.php +++ b/usr/local/www/services_captiveportal.php @@ -91,8 +91,8 @@ if ($_POST) { for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) { $coptif = &$config['interfaces']['opt' . $i]; if (isset($coptif['enable']) && $coptif['bridge']) { - //$input_errors[] = "The captive portal cannot be used when one or more interfaces are bridged."; - //break; + $input_errors[] = "The captive portal cannot be used when one or more interfaces are bridged."; + break; } }