summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-12 20:57:14 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-12 20:57:14 +0000
commit9a6757a1ff302b8b705e6aceb1ad88bcd355b41d (patch)
tree0592eb7d522adf96d3c62cca2b008d6ea6f3a419
parent1665e79c5231dbc4cf572cf1df71250a9f11fa68 (diff)
downloadpfsense-9a6757a1ff302b8b705e6aceb1ad88bcd355b41d.zip
pfsense-9a6757a1ff302b8b705e6aceb1ad88bcd355b41d.tar.gz
filter_translate_type_to_real_interface() on the bridge interface
-rwxr-xr-xusr/local/www/interfaces.php2
-rwxr-xr-xusr/local/www/interfaces_lan.php2
-rwxr-xr-xusr/local/www/interfaces_opt.php2
-rwxr-xr-xusr/local/www/interfaces_wan.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 2b35be5..8be6797 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -182,7 +182,7 @@ if ($_POST) {
if (!$input_errors) {
- $bridge = discover_bridge($wancfg['if'], $wancfg['bridge']);
+ $bridge = discover_bridge($wancfg['if'], filter_translate_type_to_real_interface($wancfg['bridge']));
if($bridge) {
destroy_bridge($bridge);
}
diff --git a/usr/local/www/interfaces_lan.php b/usr/local/www/interfaces_lan.php
index 5f6c13d..076e7f7 100755
--- a/usr/local/www/interfaces_lan.php
+++ b/usr/local/www/interfaces_lan.php
@@ -106,7 +106,7 @@ if ($_POST) {
if (!$input_errors) {
- $bridge = discover_bridge($lancfg['if'], $lancfg['bridge']);
+ $bridge = discover_bridge($lancfg['if'], filter_translate_type_to_real_interface($lancfg['bridge']));
if($bridge) {
destroy_bridge($bridge);
}
diff --git a/usr/local/www/interfaces_opt.php b/usr/local/www/interfaces_opt.php
index 93896a6..c836705 100755
--- a/usr/local/www/interfaces_opt.php
+++ b/usr/local/www/interfaces_opt.php
@@ -165,7 +165,7 @@ if ($_POST) {
if (!$input_errors) {
- $bridge = discover_bridge($optcfg['if'], $optcfg['bridge']);
+ $bridge = discover_bridge($optcfg['if'], filter_translate_type_to_real_interface($optcfg['bridge']));
if($bridge) {
destroy_bridge($bridge);
}
diff --git a/usr/local/www/interfaces_wan.php b/usr/local/www/interfaces_wan.php
index 2b35be5..8be6797 100755
--- a/usr/local/www/interfaces_wan.php
+++ b/usr/local/www/interfaces_wan.php
@@ -182,7 +182,7 @@ if ($_POST) {
if (!$input_errors) {
- $bridge = discover_bridge($wancfg['if'], $wancfg['bridge']);
+ $bridge = discover_bridge($wancfg['if'], filter_translate_type_to_real_interface($wancfg['bridge']));
if($bridge) {
destroy_bridge($bridge);
}
OpenPOWER on IntegriCloud