diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-12 20:57:14 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-12 20:57:14 +0000 |
commit | 9a6757a1ff302b8b705e6aceb1ad88bcd355b41d (patch) | |
tree | 0592eb7d522adf96d3c62cca2b008d6ea6f3a419 /usr | |
parent | 1665e79c5231dbc4cf572cf1df71250a9f11fa68 (diff) | |
download | pfsense-9a6757a1ff302b8b705e6aceb1ad88bcd355b41d.zip pfsense-9a6757a1ff302b8b705e6aceb1ad88bcd355b41d.tar.gz |
filter_translate_type_to_real_interface() on the bridge interface
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/interfaces.php | 2 | ||||
-rwxr-xr-x | usr/local/www/interfaces_lan.php | 2 | ||||
-rwxr-xr-x | usr/local/www/interfaces_opt.php | 2 | ||||
-rwxr-xr-x | usr/local/www/interfaces_wan.php | 2 |
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); } |