summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-16 16:27:38 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-16 16:27:38 +0000
commit62ce3b9a8b36405f53e94205da982311e3eb55a5 (patch)
tree8f3f64dcfc4f1d1b86ef641cb14bb383268b529d /usr
parent34947a640461e39c051714f7d8c7dbfe7d1f1d4d (diff)
downloadpfsense-62ce3b9a8b36405f53e94205da982311e3eb55a5.zip
pfsense-62ce3b9a8b36405f53e94205da982311e3eb55a5.tar.gz
Remove double bridge safety checks
Ticket #354
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