From c05342dd259dbb206820372222b362fa93fab9d7 Mon Sep 17 00:00:00 2001 From: Owen Schwartz Date: Mon, 28 Oct 2024 23:46:58 -0400 Subject: [PATCH] Fix missing cidr slash --- server/routers/gerbil/getConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routers/gerbil/getConfig.ts b/server/routers/gerbil/getConfig.ts index b1f68e36..1eeb881c 100644 --- a/server/routers/gerbil/getConfig.ts +++ b/server/routers/gerbil/getConfig.ts @@ -124,7 +124,7 @@ async function getNextAvailableSubnet(): Promise { } // 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; }