diff --git a/firewalld/files/ipset.xml b/firewalld/files/ipset.xml
index 81aedc3..9d4082b 100644
--- a/firewalld/files/ipset.xml
+++ b/firewalld/files/ipset.xml
@@ -27,6 +27,11 @@
{%- endfor %}
{%- endif %}
+{%- if 'family' in ipset.options %}
+{%- for v in ipset.options.family %}
+
+{%- endfor %}
+{%- endif %}
{%- endif %}
{%- if 'entries' in ipset %}
{%- for v in ipset.entries %}
diff --git a/pillar.example b/pillar.example
index 90aba75..6035fe3 100644
--- a/pillar.example
+++ b/pillar.example
@@ -63,6 +63,21 @@ firewalld:
- 1024
entries:
- 10.0.0.1
+ fail2ban-ssh-ipv6:
+ short: fail2ban-ssh-ipv6
+ description: fail2ban-ssh-ipv6 ipset
+ type: 'hash:ip'
+ options:
+ family:
+ - inet6
+ maxelem:
+ - 65536
+ timeout:
+ - 300
+ hashsize:
+ - 1024
+ entries:
+ - 2a01::1
zones:
public:
@@ -119,4 +134,3 @@ firewalld:
MYPASSTHROUGH:
ipv: ipv4
args: "-t raw -A MYCHAIN -j DROP"
-