Update tinc/lixonet/tinc.conf.tmpl
This commit is contained in:
parent
8824173602
commit
4c4786853b
@ -41,7 +41,7 @@ DirectOnly = ${tinc_direct_only:-yes}
|
|||||||
ConnectTo = {{.}}
|
ConnectTo = {{.}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ range files "tinc/lixonet/hosts" }}{{ if ne . "${name}" }}{{ if ne . "server" }}
|
{{ range files "tinc/lixonet/hosts" }}{{ if ne . "${name}" }}{{ if ne . "server" }}{{$contents:=file(.)}}{{if match "0\.0\.0\.0" "${contents}"}}
|
||||||
ConnectTo = {{.}}
|
ConnectTo = {{.}}
|
||||||
{{ end }}{{ end }}{{ end }}
|
{{ end }}{{ end }}{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user