mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-28 05:44:45 +02:00
Remove ports, >1024 | <65535
This commit is contained in:
parent
f79dac2d13
commit
68195ab0b7
@ -129,6 +129,8 @@ class AllocationsRelationManager extends RelationManager
|
||||
$ports = $sortedPorts;
|
||||
}
|
||||
|
||||
$ports = $ports->filter(fn ($port) => $port > 1024 && $port < 65535)->values();
|
||||
|
||||
if ($update) {
|
||||
$set('allocation_ports', $ports->all());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user