[pve-devel] applied: [PATCH pve-network] vxlan|evpn : fix mtu

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Feb 14 18:36:33 CET 2020


On 2/13/20 12:16 PM, Alexandre Derumier wrote:
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
> ---
>  PVE/Network/SDN/Zones/EvpnPlugin.pm  | 2 +-
>  PVE/Network/SDN/Zones/VxlanPlugin.pm | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/PVE/Network/SDN/Zones/EvpnPlugin.pm b/PVE/Network/SDN/Zones/EvpnPlugin.pm
> index 056a7b1..aa75988 100644
> --- a/PVE/Network/SDN/Zones/EvpnPlugin.pm
> +++ b/PVE/Network/SDN/Zones/EvpnPlugin.pm
> @@ -56,7 +56,7 @@ sub generate_sdn_config {
>  
>      my $mtu = 1450;
>      $mtu = $interfaces_config->{$iface}->{mtu} - 50 if $interfaces_config->{$iface}->{mtu};
> -    $mtu = $vnet->{mtu} if $plugin_config->{mtu};
> +    $mtu = $plugin_config->{mtu} if $plugin_config->{mtu};
>  
>      #vxlan interface
>      my @iface_config = ();
> diff --git a/PVE/Network/SDN/Zones/VxlanPlugin.pm b/PVE/Network/SDN/Zones/VxlanPlugin.pm
> index 82760f1..ce9aebf 100644
> --- a/PVE/Network/SDN/Zones/VxlanPlugin.pm
> +++ b/PVE/Network/SDN/Zones/VxlanPlugin.pm
> @@ -58,7 +58,7 @@ sub generate_sdn_config {
>  
>      my $mtu = 1450;
>      $mtu = $interfaces_config->{$iface}->{mtu} - 50 if $interfaces_config->{$iface}->{mtu};
> -    $mtu = $vnet->{mtu} if $plugin_config->{mtu};
> +    $mtu = $plugin_config->{mtu} if $plugin_config->{mtu};
>  
>      #vxlan interface
>      my @iface_config = ();
> 

applied, thanks!




More information about the pve-devel mailing list