[pve-devel] [PATCH] tap_plug : add support for vlan aware linux bridge
Wolfgang Bumiller
w.bumiller at proxmox.com
Fri Jul 24 15:20:06 CEST 2015
On Fri, Jul 24, 2015 at 01:52:59PM +0200, Alexandre Derumier wrote:
> - $newbridge = &$create_firewall_bridge_linux($iface, $newbridge) if $firewall;
> + if (!$vlan_aware) {
> + my $newbridge = activate_bridge_vlan($bridge, $tag);
> + copy_bridge_config($bridge, $newbridge) if $bridge ne $newbridge;
> + $tag = undef;
> + }
> +
> + if ($firewall) {
> + &$create_firewall_bridge_linux($iface, $bridge, $tag);
> + } else {
> + &$bridge_add_interface($bridge, $iface, $tag);
> + }
>
> - &$bridge_add_interface($newbridge, $iface);
Why is `bridge_add_interface` now restricted to the firewall-else
branch?
More information about the pve-devel
mailing list