mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
[PR #491] [MERGED] Fix PORT_FLOOR check and CIDR_MAX_BITS in AssignmentService
#788
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/491
Author: @Boy132
Created: 7/17/2024
Status: ✅ Merged
Merged: 7/17/2024
Merged by: @Boy132
Base:
main← Head:fix/port-range📝 Commits (2)
72f2114fix max cidrb368ebbfix port floor📊 Changes
2 files changed (+4 additions, -4 deletions)
View changed files
📝
app/Services/Allocations/AssignmentService.php(+3 -3)📝
lang/en/exceptions.php(+1 -1)📄 Description
Ports needs to be "greater than or equal to 1024". 1024 itself works fine:

Also fixes the max CIDR mask, ref https://github.com/pterodactyl/panel/pull/5111.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.