Signed-off-by: Alexandre Derumier <[email protected]>
---
 PVE/Network/SDN/Controllers/EvpnPlugin.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/Network/SDN/Controllers/EvpnPlugin.pm 
b/PVE/Network/SDN/Controllers/EvpnPlugin.pm
index 74ec018..d09f2a9 100644
--- a/PVE/Network/SDN/Controllers/EvpnPlugin.pm
+++ b/PVE/Network/SDN/Controllers/EvpnPlugin.pm
@@ -271,7 +271,7 @@ sub on_update_hook {
        my $controller = $controller_cfg->{ids}->{$id};
        next if $controller->{type} ne "evpn";
        $controllernb++;
-       die "only 1 global evpn controller can be defined" if $controllernb > 1;
+       die "only 1 global evpn controller can be defined" if $controllernb >= 
1;
     }
 }
 
-- 
2.30.2


_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to