From 844537df38cbaa3a7c5e032002675af6b4f0dce7 Mon Sep 17 00:00:00 2001 From: Daniel Barton Date: Sun, 30 Jun 2024 02:24:10 +0800 Subject: [PATCH] fix: CIDR_MAX_BITS restricting to `/27` instead of `/25` (#5111) --- app/Services/Allocations/AssignmentService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Allocations/AssignmentService.php b/app/Services/Allocations/AssignmentService.php index 54994ee72..821255d49 100644 --- a/app/Services/Allocations/AssignmentService.php +++ b/app/Services/Allocations/AssignmentService.php @@ -14,7 +14,7 @@ use Pterodactyl\Exceptions\Service\Allocation\TooManyPortsInRangeException; class AssignmentService { - public const CIDR_MAX_BITS = 27; + public const CIDR_MAX_BITS = 25; public const CIDR_MIN_BITS = 32; public const PORT_FLOOR = 1024; public const PORT_CEIL = 65535;