Browse Source

fix to roaming feature

afeiszli 4 years ago
parent
commit
67157f4bdc
1 changed files with 0 additions and 1 deletions
  1. 0 1
      netclient/functions/common.go

+ 0 - 1
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
 			}