Skip to content

Commit

Permalink
reduce updates by keeping disabled clients in config
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-nettica committed Oct 8, 2024
1 parent ad6f027 commit ae3511f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ PersistentKeepalive = {{.Host.Current.PersistentKeepalive}}
Address = {{ . }}
{{- end }}
PrivateKey = {{ .Vpn.Current.PrivateKey }}
{{ $server := .Vpn.Current.Endpoint -}}{{ $service := .Vpn.Current.Type -}}
{{ $server := .Vpn.Current.Endpoint -}}{{ $service := .Vpn.Type -}}
{{ if ne .Vpn.Current.ListenPort 0 -}}ListenPort = {{ .Vpn.Current.ListenPort }}{{- end}}
{{ if .Vpn.Current.Dns }}DNS = {{ StringsJoin .Vpn.Current.Dns ", " }}{{ end }}
{{ if .Vpn.Current.Table }}Table = {{ .Vpn.Current.Table }}{{- end}}
Expand Down

0 comments on commit ae3511f

Please sign in to comment.