From 62ce3b9a8b36405f53e94205da982311e3eb55a5 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 16 Aug 2005 16:27:38 +0000 Subject: Remove double bridge safety checks Ticket #354 --- usr/local/www/interfaces_opt.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'usr') diff --git a/usr/local/www/interfaces_opt.php b/usr/local/www/interfaces_opt.php index 2b179fa..612a526 100755 --- a/usr/local/www/interfaces_opt.php +++ b/usr/local/www/interfaces_opt.php @@ -105,19 +105,19 @@ if ($_POST) { for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) { if ($i != $index) { if ($config['interfaces']['opt' . $i]['bridge'] == $_POST['bridge']) { - $input_errors[] = "Optional interface {$i} " . - "({$config['interfaces']['opt' . $i]['descr']}) is already bridged to " . - "the specified interface."; + //$input_errors[] = "Optional interface {$i} " . + // "({$config['interfaces']['opt' . $i]['descr']}) is already bridged to " . + // "the specified interface."; } else if ($config['interfaces']['opt' . $i]['bridge'] == "opt{$index}") { - $input_errors[] = "Optional interface {$i} " . - "({$config['interfaces']['opt' . $i]['descr']}) is already bridged to " . - "this interface."; + //$input_errors[] = "Optional interface {$i} " . + // "({$config['interfaces']['opt' . $i]['descr']}) is already bridged to " . + // "this interface."; } } } if ($config['interfaces'][$_POST['bridge']]['bridge']) { - $input_errors[] = "The specified interface is already bridged to " . - "another interface."; + //$input_errors[] = "The specified interface is already bridged to " . + // "another interface."; } /* captive portal on? */ if (isset($config['captiveportal']['enable'])) { -- cgit v1.1