diff --git a/queues/async_wg_config.go b/queues/async_wg_config.go index 4007fb0..ebe0599 100644 --- a/queues/async_wg_config.go +++ b/queues/async_wg_config.go @@ -90,7 +90,7 @@ func asyncWireguardConfigFile() { Email: v.Email, PublicKey: clientKey.PublicKey, PresharedKey: clientKey.PresharedKey, - AllowedIPS: v.AllowedIps, + AllowedIPS: v.IpAllocation, PersistentKeepalive: strconv.Itoa(globalSetting.PersistentKeepalive), Endpoint: v.Endpoint, CreatedAt: v.CreatedAt.String(),