Add comments about not processing gateway

This commit is contained in:
Owen
2026-09-24 09:49:09 -04:00
parent 021626d382
commit e68963b852
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -500,6 +500,7 @@ export function generateRemoteSubnets(
if (!sr.enabled) return false;
if (!sr.destination) return false;
// we purposely filter out the gateway resource here because we add it manually on the client
if (sr.mode === "cidr") {
// check if its a valid CIDR using zod
const cidrSchema = z.union([z.cidrv4(), z.cidrv6()]);