summaryrefslogtreecommitdiff
path: root/roles/setup_batman/templates/netctl_bat.j2
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2018-03-15 14:09:20 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2018-03-15 14:09:20 +0100
commitad992a78dd732e40981bd89ea153a0707560a4ef (patch)
tree8189c94c7f408b47d552a91579d2645dffc4a9dd /roles/setup_batman/templates/netctl_bat.j2
parentc216adad03b74dbf954b0b2ed0c615a25f00e1ea (diff)
set wireguard backbone mtu to 1280
Diffstat (limited to 'roles/setup_batman/templates/netctl_bat.j2')
-rw-r--r--roles/setup_batman/templates/netctl_bat.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/setup_batman/templates/netctl_bat.j2 b/roles/setup_batman/templates/netctl_bat.j2
index 01ebb6d..5e11d74 100644
--- a/roles/setup_batman/templates/netctl_bat.j2
+++ b/roles/setup_batman/templates/netctl_bat.j2
@@ -3,6 +3,6 @@ Interface=bat{{ item.name }}
IP=static
IP6=static
Address6=({{ item.bat_ipv6 }}/64)
-Address=({{ item.bat_ipv4 }}/20)
+Address=({{ item.bat_ipv4 }}/{{ item.bat_ipv4_cidr }})
ExecUpPost=/usr/local/bin/ffmyk-iproute{{ item.name }}-up.sh
ExecDownPre=/usr/local/bin/ffmyk-iproute{{ item.name }}-down.sh