From 0953fd9a97e9697fb496c0e1d3a0e2a45bc264ea Mon Sep 17 00:00:00 2001 From: Michael Ben-Ami Date: Thu, 13 Aug 2026 17:57:47 -0400 Subject: [PATCH] conn25: return early in handleConnectorTransitIP if conn25 not configured We were checking and writing an HTTP error, but not returning. Updates tailscale/corp#39033 Signed-off-by: Michael Ben-Ami --- feature/conn25/conn25.go | 1 + 1 file changed, 1 insertion(+) diff --git a/feature/conn25/conn25.go b/feature/conn25/conn25.go index 4023a03e0..6074de9aa 100644 --- a/feature/conn25/conn25.go +++ b/feature/conn25/conn25.go @@ -96,6 +96,7 @@ func handleConnectorTransitIP(h ipnlocal.PeerAPIHandler, w http.ResponseWriter, } if !e.conn25.isConfigured() { http.Error(w, "conn25 not configured", http.StatusServiceUnavailable) + return } e.handleConnectorTransitIP(h, w, r) }