summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces_opt.php16
1 files changed, 8 insertions, 8 deletions
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'])) {
OpenPOWER on IntegriCloud