[pve-devel] [PATCH] activate_bridge_vlan: allow QinQ

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Mon Sep 21 08:45:21 CEST 2015


that's my patch ;-)

https://www.mail-archive.com/pve-devel@pve.proxmox.com/msg10607.html

Greets,
Stefan

Am 21.09.2015 um 08:42 schrieb Alexandre Derumier:
> we should be able to create new bridge with double tagged interfaces
> 
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
> ---
>  src/PVE/Network.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/PVE/Network.pm b/src/PVE/Network.pm
> index 60afe50..981ac6a 100644
> --- a/src/PVE/Network.pm
> +++ b/src/PVE/Network.pm
> @@ -413,7 +413,7 @@ sub activate_bridge_vlan {
>  
>      my @ifaces = ();
>      my $dir = "/sys/class/net/$bridge/brif";
> -    PVE::Tools::dir_glob_foreach($dir, '((eth|bond)\d+)', sub {
> +    PVE::Tools::dir_glob_foreach($dir, '((eth|bond)\d+(.\d+)?)', sub {
>          push @ifaces, $_[0];
>      });
>  
> 



More information about the pve-devel mailing list