Merge pull request #319 from RMartinOscar/patch-3

Update AllocationsRelationManager to allow big endian
This commit is contained in:
Lance Pioch 2024-06-03 10:34:27 -04:00 committed by GitHub
commit a892821b4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -113,7 +113,7 @@ class AllocationsRelationManager extends RelationManager
$start = max((int) $start, 0);
$end = min((int) $end, 2 ** 16 - 1);
for ($i = $start; $i <= $end; $i++) {
foreach (range($start, $end) as $i) {
$ports->push($i);
}
}