[pve-devel] [PATCH] support QinQ / vlan stacking

Stefan Priebe s.priebe at profihost.ag
Sat Feb 14 09:41:50 CET 2015


Signed-off-by: Stefan Priebe <s.priebe at profihost.ag>
---
 data/PVE/Network.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/PVE/Network.pm b/data/PVE/Network.pm
index 00639f6..97f4033 100644
--- a/data/PVE/Network.pm
+++ b/data/PVE/Network.pm
@@ -323,7 +323,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];
     });
 
-- 
1.7.10.4




More information about the pve-devel mailing list