On 2/13/20 12:16 PM, Alexandre Derumier wrote:
> Signed-off-by: Alexandre Derumier <aderum...@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!

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to