mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 14:24:46 +02:00
Merge pull request #319 from RMartinOscar/patch-3
Update AllocationsRelationManager to allow big endian
This commit is contained in:
commit
a892821b4f
@ -113,7 +113,7 @@ class AllocationsRelationManager extends RelationManager
|
|||||||
|
|
||||||
$start = max((int) $start, 0);
|
$start = max((int) $start, 0);
|
||||||
$end = min((int) $end, 2 ** 16 - 1);
|
$end = min((int) $end, 2 ** 16 - 1);
|
||||||
for ($i = $start; $i <= $end; $i++) {
|
foreach (range($start, $end) as $i) {
|
||||||
$ports->push($i);
|
$ports->push($i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user