From 67157f4bdc77ea7f4b0f711ee663dd233a43bcc0 Mon Sep 17 00:00:00 2001 From: afeiszli Date: Fri, 26 Mar 2021 11:18:24 -0400 Subject: [PATCH] fix to roaming feature --- netclient/functions/common.go | 1 - 1 file changed, 1 deletion(-) diff --git a/netclient/functions/common.go b/netclient/functions/common.go index de97fce0..3ba56a69 100644 --- a/netclient/functions/common.go +++ b/netclient/functions/common.go @@ -558,7 +558,6 @@ func getPublicAddr() (string, error) { endpoint := "" if resp.StatusCode == http.StatusOK { bodyBytes, err := ioutil.ReadAll(resp.Body) - _, err := ioutil.ReadAll(resp.Body) if err != nil { return "", err }