From 098482a8905d710d82b93a7b946e4a95e8e1fea2 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 1 Sep 2023 21:29:21 +0000 Subject: [PATCH] wireguard: ini.Unmarshal() [WIP] Signed-off-by: Alejandro Mery --- pkg/wireguard/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/wireguard/config.go b/pkg/wireguard/config.go index 8643db4..7b16985 100644 --- a/pkg/wireguard/config.go +++ b/pkg/wireguard/config.go @@ -78,7 +78,7 @@ type PeerConfig struct { Name string PublicKey PublicKey Endpoint EndpointAddress - AllowedIPs []netip.Prefix + AllowedIPs []netip.Prefix `ini:",comma"` } // EndpointAddress is a host:port pair to reach the Peer