new allowed ips fix

This commit is contained in:
0xdcarns 2022-04-21 11:02:44 -04:00
parent 3ca9843328
commit 8b84692455

View file

@ -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