From c7d29eac1e32b6f4b18ae7405fc4b4c86517d318 Mon Sep 17 00:00:00 2001 From: Fernando Garcia Fernandez Date: Sat, 7 Oct 2023 09:34:33 +0200 Subject: [PATCH] Added support for friendly_name tag --- template/template.go | 1 + 1 file changed, 1 insertion(+) diff --git a/template/template.go b/template/template.go index abf443c..371ccfd 100644 --- a/template/template.go +++ b/template/template.go @@ -234,6 +234,7 @@ PostDown = {{ .Server.PostDown }} {{ if .Enable -}} # {{.Name}} / {{.Email}} / Updated: {{.Updated}} / Created: {{.Created}} [Peer] +# friendly_name = {{.Name}} PublicKey = {{ .PublicKey }} PresharedKey = {{ .PresharedKey }} AllowedIPs = {{ StringsJoin .Address ", " }}