[pve-devel] [PATCH] fix tap_plug with vlan for non aware vlan bridges

Wolfgang Bumiller w.bumiller at proxmox.com
Mon Aug 3 15:51:32 CEST 2015


Seems to work :-)

On Mon, Aug 03, 2015 at 03:07:37PM +0200, Alexandre Derumier wrote:
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
> ---
>  src/PVE/Network.pm | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/PVE/Network.pm b/src/PVE/Network.pm
> index 9c05e78..dd34198 100644
> --- a/src/PVE/Network.pm
> +++ b/src/PVE/Network.pm
> @@ -312,6 +312,7 @@ sub tap_plug {
>  	if (!$vlan_aware) {
>  	    my $newbridge = activate_bridge_vlan($bridge, $tag);
>  	    copy_bridge_config($bridge, $newbridge) if $bridge ne $newbridge;
> +	    $bridge = $newbridge;
>  	    $tag = undef;
>  	}
>  
> -- 
> 2.1.4
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 




More information about the pve-devel mailing list