Fix missing cidr slash

This commit is contained in:
Owen Schwartz 2024-10-28 23:46:58 -04:00
parent 1fb43a5ce4
commit c05342dd25
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD

View file

@ -124,7 +124,7 @@ async function getNextAvailableSubnet(): Promise<string> {
}
// replace the last octet with 1
subnet = subnet.split('.').slice(0, 3).join('.') + '.1' + subnet.split('/')[1];
subnet = subnet.split('.').slice(0, 3).join('.') + '.1' + '/' + subnet.split('/')[1];
return subnet;
}