Forráskód Böngészése

new allowed ips fix

0xdcarns 3 éve
szülő
commit
8b84692455
1 módosított fájl, 1 hozzáadás és 1 törlés
  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