From 69f5664075bcfe179388fd7a6d01b70911ddddcd Mon Sep 17 00:00:00 2001 From: San Date: Sat, 17 Feb 2024 04:17:34 +1100 Subject: [PATCH] ipn/ipnlocal: fix doctor API endpoint (#11155) Small fix to make sure doctor API endpoint returns correctly - I spotted it when checking my tailscaled node and noticed it was handled slightly different compare to the rest Signed-off-by: San --- ipn/ipnlocal/peerapi.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ipn/ipnlocal/peerapi.go b/ipn/ipnlocal/peerapi.go index 5d0a3d386..78d448bbe 100644 --- a/ipn/ipnlocal/peerapi.go +++ b/ipn/ipnlocal/peerapi.go @@ -351,6 +351,7 @@ func (h *peerAPIHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { return case "/v0/doctor": h.handleServeDoctor(w, r) + return case "/v0/sockstats": h.handleServeSockStats(w, r) return