[pve-devel] [PATCH pve-network 1/2] vlanplugin : fix vlan-aware option

Alexandre Derumier aderumier at odiso.com
Tue Apr 2 12:09:09 CEST 2019


---
 PVE/Network/VlanPlugin.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/Network/VlanPlugin.pm b/PVE/Network/VlanPlugin.pm
index a349890..6f76f18 100644
--- a/PVE/Network/VlanPlugin.pm
+++ b/PVE/Network/VlanPlugin.pm
@@ -85,7 +85,7 @@ sub generate_network_config {
     $config .= "        bridge_ports $iface\n";
     $config .= "        bridge_stp off\n";
     $config .= "        bridge_fd 0\n";
-    $config .= "        vlan-aware 1 \n" if $vlanaware;
+    $config .= "        bridge-vlan-aware yes \n" if $vlanaware;
     $config .= "        mtu $mtu\n" if $mtu;
 
     return $config;
-- 
2.11.0




More information about the pve-devel mailing list