diff --git a/templates/ipset.j2 b/templates/ipset.j2 index 5cd8b2a..172b993 100644 --- a/templates/ipset.j2 +++ b/templates/ipset.j2 @@ -1,6 +1,6 @@ flush create {{ whitelist_ip4_name }} hash:net maxelem 65536 -{% for white_ip4 in whitelist_ip %} +{% for white_ip4 in whitelist_ip4 %} add {{ whitelist_ip4_name }} {{ white_ip4 }} {% endfor %} create {{ whitelist_ip6_name }} hash:ip family inet6