diff options
author | Ermal <eri@pfsense.org> | 2011-08-29 19:33:28 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-08-29 19:33:28 +0000 |
commit | 8614f335d1c9d62cdb65e41f235e123e6993368e (patch) | |
tree | 83630989cbe718810fdeb5bab9300006e47c96e6 /etc | |
parent | edf1c0d9185a8bc24d407de4ac0c02413f04ad1c (diff) | |
download | pfsense-8614f335d1c9d62cdb65e41f235e123e6993368e.zip pfsense-8614f335d1c9d62cdb65e41f235e123e6993368e.tar.gz |
Fixes #1666. Check if the interface needs to be added to a bridge during rc.newwanip as well.
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.newwanip | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip index 1ae72ed..86dac23 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -109,6 +109,11 @@ $grouptmp = link_interface_to_group($interface); if (!empty($grouptmp)) array_walk($grouptmp, 'interface_group_add_member'); +unset($bridgetmp); +$bridgetmp = link_interface_to_bridge($interface); +if (!empty($bridgetmp)) + interface_bridge_add_member($bridgetmp, $interface_real); + /* reconfigure static routes (kernel may have deleted them) */ system_routing_configure($interface); |