Added support for friendly_name tag

This commit is contained in:
Fernando Garcia Fernandez 2023-10-07 09:34:33 +02:00
parent 4fd1e34f5f
commit c7d29eac1e
1 changed files with 1 additions and 0 deletions

View File

@ -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 ", " }}