Browse Source

new allowed ips fix

0xdcarns 3 years ago
parent
commit
8b84692455
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/ext_client.go

+ 1 - 1
controllers/ext_client.go

@@ -154,7 +154,7 @@ func getExtClientConf(w http.ResponseWriter, r *http.Request) {
 	gwendpoint := gwnode.Endpoint + ":" + strconv.Itoa(int(gwnode.ListenPort))
 	newAllowedIPs := network.AddressRange
 	if newAllowedIPs != "" {
-		addrString += ","
+		newAllowedIPs += ","
 	}
 	if network.AddressRange6 != "" {
 		newAllowedIPs += network.AddressRange6