From 1e8e1c019697fb13789f42f24413b1fc22f09bf9 Mon Sep 17 00:00:00 2001 From: coward Date: Wed, 5 Jun 2024 10:40:41 +0800 Subject: [PATCH] =?UTF-8?q?:art:=E4=BF=AE=E5=A4=8DBug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- queues/async_wg_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(),