[pve-devel] [PATCH] activate_bridge_vlan: allow QinQ
Alexandre Derumier
aderumier at odiso.com
Mon Sep 21 08:42:50 CEST 2015
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];
});
--
2.1.4
More information about the pve-devel
mailing list