diff options
author | uvok cheetah | 2023-08-21 18:17:17 +0200 |
---|---|---|
committer | uvok cheetah | 2023-08-21 18:17:17 +0200 |
commit | 3197658cda2d3069c42584b24508000985291c0a (patch) | |
tree | cb268d6f579b8d66f8a318bc10412aa1f677ff27 /roles/router/templates | |
parent | 6f07852460cf475c37dd5b2cc94857d2e9e05070 (diff) |
tinc: Add address family
Diffstat (limited to 'roles/router/templates')
-rw-r--r-- | roles/router/templates/tinc.conf.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/router/templates/tinc.conf.j2 b/roles/router/templates/tinc.conf.j2 index bc71107..b7011e1 100644 --- a/roles/router/templates/tinc.conf.j2 +++ b/roles/router/templates/tinc.conf.j2 @@ -1,5 +1,9 @@ Name = {{ tinc.name }} +{% if tinc.listen_on is defined %} +AddressFamily = {{ tinc.listen_on }} +{% else %} AddressFamily = ipv6 +{% endif %} Interface = tn_int Mode = switch {% for conn in tinc.connections %} |