From 3197658cda2d3069c42584b24508000985291c0a Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Mon, 21 Aug 2023 18:17:17 +0200 Subject: tinc: Add address family --- roles/router/templates/tinc.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) 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 %} -- cgit v1.2.3