]> git.puffer.fish Git - mirror/pve-network.git/commitdiff
controllers: increase controllerid to 64 characters max
authorAlexandre Derumier <aderumier@odiso.com>
Wed, 21 Apr 2021 21:49:26 +0000 (23:49 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Apr 2021 08:05:52 +0000 (10:05 +0200)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/Network/SDN/Controllers/Plugin.pm

index 8b5bd4f2753f3fbd056afcb797e927f8a5c55048..b035492b748793f4d19cd9bff425b6a31b429aae 100644 (file)
@@ -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;
 }