From b6b4689e5b0b6fdb2a3c6322cd15d370fd8d462a Mon Sep 17 00:00:00 2001 From: Owen Date: Fri, 16 Jan 2026 15:18:52 -0800 Subject: [PATCH] Use the right time --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 63f56d8..36ffae6 100644 --- a/main.go +++ b/main.go @@ -506,7 +506,7 @@ func runNewtMain(ctx context.Context) { id, // CLI arg takes precedence secret, // CLI arg takes precedence endpoint, - 30, // 30 seconds + 30*time.Second, // 30 seconds pingTimeout, opt, ) @@ -694,8 +694,8 @@ func runNewtMain(ctx context.Context) { relayPort := wgData.RelayPort if relayPort == 0 { - relayPort = 21820 - } + relayPort = 21820 + } clientsHandleNewtConnection(wgData.PublicKey, endpoint, relayPort)