diff options
-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); } |