]> git.proxmox.com Git - pve-network.git/blobdiff - PVE/Network/SDN/Zones/Plugin.pm
restrict zone name to 8 characters
[pve-network.git] / PVE / Network / SDN / Zones / Plugin.pm
index 2335d9eb2066848ddd39b59ff552d0aca7b58545..9ea7a50d038199726d57859ba0ea220b3a049827 100644 (file)
@@ -29,7 +29,7 @@ sub parse_sdn_zone_id {
        return undef if $noerr;
        die "zone ID '$id' contains illegal characters\n";
     }
-    die "zone ID '$id' can't be more length than 10 characters\n" if length($id) > 10;
+    die "zone ID '$id' can't be more length than 8 characters\n" if length($id) > 8;
     return $id;
 }