Remove ports, >1024 | <65535

This commit is contained in:
notCharles 2024-05-13 19:57:42 -04:00
parent f79dac2d13
commit 68195ab0b7

View File

@ -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());
}