Browse Source

wireguard: ini.Unmarshal() [WIP]

Signed-off-by: Alejandro Mery <amery@jpi.io>
dev-amery-reflective
Alejandro Mery 1 year ago
parent
commit
098482a890
  1. 2
      pkg/wireguard/config.go

2
pkg/wireguard/config.go

@ -78,7 +78,7 @@ type PeerConfig struct {
Name string Name string
PublicKey PublicKey PublicKey PublicKey
Endpoint EndpointAddress Endpoint EndpointAddress
AllowedIPs []netip.Prefix AllowedIPs []netip.Prefix `ini:",comma"`
} }
// EndpointAddress is a host:port pair to reach the Peer // EndpointAddress is a host:port pair to reach the Peer

Loading…
Cancel
Save