From: Alexandre Derumier Date: Wed, 21 Apr 2021 21:49:26 +0000 (+0200) Subject: controllers: increase controllerid to 64 characters max X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=c08eeb0f9586c05b105508178a507caf3bc2ba51;p=matthieu%2Fpve-network.git controllers: increase controllerid to 64 characters max Signed-off-by: Alexandre Derumier --- diff --git a/PVE/Network/SDN/Controllers/Plugin.pm b/PVE/Network/SDN/Controllers/Plugin.pm index 8b5bd4f..b035492 100644 --- a/PVE/Network/SDN/Controllers/Plugin.pm +++ b/PVE/Network/SDN/Controllers/Plugin.pm @@ -28,7 +28,7 @@ sub parse_sdn_controller_id { return undef if $noerr; die "controller ID '$id' contains illegal characters\n"; } - die "controller ID '$id' can't be more length than 10 characters\n" if length($id) > 10; + die "controller ID '$id' can't be more length than 64 characters\n" if length($id) > 64; return $id; }