]> git.proxmox.com Git - pve-network.git/commitdiff
vxlanmulticast: add mtu to vxlan interface too.
authorAlexandre Derumier <aderumier@odiso.com>
Fri, 3 May 2019 09:00:14 +0000 (11:00 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 6 May 2019 05:54:58 +0000 (07:54 +0200)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/Network/Network/VxlanMulticastPlugin.pm

index 30721ee9c6fe91db0e3c8931bb54a736214793c2..48e7d68394c09bb9f8b4a4c2997c55dca0cccf19 100644 (file)
@@ -70,6 +70,7 @@ sub generate_network_config {
     $config .= "       vxlan-id $tag\n" if $tag;
     $config .= "       vxlan-svcnodeip $multicastaddress\n" if $multicastaddress;
     $config .= "       vxlan-physdev $iface\n" if $iface;
+    $config .= "       mtu $mtu\n" if $mtu;
     $config .= "\n";
     $config .= "auto $vnetid\n";
     $config .= "iface $vnetid inet manual\n";