summaryrefslogtreecommitdiff
path: root/roles/setup_batman/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/setup_batman/templates')
-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