From 450b0bf4fa6cef0979d2e7d630f030e7fe5a4a7c Mon Sep 17 00:00:00 2001 From: Owen Date: Fri, 21 Feb 2025 18:16:07 -0500 Subject: [PATCH] Use the right ip --- server/routers/olm/handleOlmRegisterMessage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routers/olm/handleOlmRegisterMessage.ts b/server/routers/olm/handleOlmRegisterMessage.ts index 147de81c..003cc3d6 100644 --- a/server/routers/olm/handleOlmRegisterMessage.ts +++ b/server/routers/olm/handleOlmRegisterMessage.ts @@ -87,7 +87,7 @@ export const handleOlmRegisterMessage: MessageHandler = async (context) => { endpoint: `${site.endpoint}:${site.listenPort}`, publicKey: site.publicKey, serverIP: site.address!.split("/")[0], - tunnelIP: site.subnet.split("/")[0] + tunnelIP: client.subnet.split("/")[0] } }, broadcast: false, // Send to all olms