mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-12 16:06:38 +00:00
Working on deployment 2
This commit is contained in:
@@ -122,7 +122,7 @@ async function getNextAvailableSubnet(): Promise<string> {
|
||||
}
|
||||
|
||||
// replace the last octet with 1
|
||||
subnet = subnet.split('.').slice(0, 3).join('.') + '.1';
|
||||
subnet = subnet.split('.').slice(0, 3).join('.') + '.1' + subnet.split('/')[1];
|
||||
return subnet;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user