[pve-devel] [PATCH] fix tap_plug with vlan for non aware vlan bridges
Alexandre Derumier
aderumier at odiso.com
Mon Aug 3 15:07:37 CEST 2015
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
More information about the pve-devel
mailing list