mirror of
https://github.com/renorris/openfsd
synced 2026-04-20 01:45:43 +08:00
add AUTOMATIC entry to server list API for client compatibility
This commit is contained in:
@@ -7,6 +7,7 @@ CONNECTED CLIENTS = 1
|
||||
;
|
||||
;
|
||||
!SERVERS:
|
||||
{{ range . }}{{ .Ident }}:{{ .HostnameOrIp }}:{{ .Location }}:{{ .Ident }}:{{ .ClientsConnectionAllowed }}:{{ end }}
|
||||
{{ range $index, $element := . }}{{ if $index }}
|
||||
{{ end }}{{ $element.Ident }}:{{ $element.HostnameOrIp }}:{{ $element.Location }}:{{ $element.Name }}:{{ $element.ClientsConnectionAllowed }}:{{ end }}
|
||||
;
|
||||
; END
|
||||
|
||||
Reference in New Issue
Block a user