diff options
-rwxr-xr-x | src/etc/rc.newwanip | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/etc/rc.newwanip b/src/etc/rc.newwanip index 45cef96..bfbe78b 100755 --- a/src/etc/rc.newwanip +++ b/src/etc/rc.newwanip @@ -150,7 +150,13 @@ if (!empty($grouptmp)) { unset($bridgetmp); $bridgetmp = link_interface_to_bridge($interface); if (!empty($bridgetmp)) { - interface_bridge_add_member($bridgetmp, $interface_real); + if (is_array($config['bridges']['bridged']) && count($config['bridges']['bridged'])) { + foreach ($config['bridges']['bridged'] as $bridge) { + if ($bridge['bridgeif'] == $bridgetmp) { + interface_bridge_configure($bridge); + } + } + } } // Do not process while booting |