From 4ab4e4eff1af69977ffb69b5334ef6317e60d19c Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 24 Aug 2005 17:42:24 +0000 Subject: Remove bridging safety-checks --- usr/local/www/interfaces_lan.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'usr') diff --git a/usr/local/www/interfaces_lan.php b/usr/local/www/interfaces_lan.php index fd018f3..7d05d9c 100755 --- a/usr/local/www/interfaces_lan.php +++ b/usr/local/www/interfaces_lan.php @@ -52,13 +52,13 @@ 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."; } } } -- cgit v1.1