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 <santrancisco@users.noreply.github.com>
pull/11164/head
San 9 months ago committed by GitHub
parent 3aca29e00e
commit 69f5664075
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -351,6 +351,7 @@ func (h *peerAPIHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return return
case "/v0/doctor": case "/v0/doctor":
h.handleServeDoctor(w, r) h.handleServeDoctor(w, r)
return
case "/v0/sockstats": case "/v0/sockstats":
h.handleServeSockStats(w, r) h.handleServeSockStats(w, r)
return return

Loading…
Cancel
Save