mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 13:14: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 = $sortedPorts;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$ports = $ports->filter(fn ($port) => $port > 1024 && $port < 65535)->values();
|
||||||
|
|
||||||
if ($update) {
|
if ($update) {
|
||||||
$set('allocation_ports', $ports->all());
|
$set('allocation_ports', $ports->all());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user