From 5917ad9bad463c79d531c4c3699c881017c362cc Mon Sep 17 00:00:00 2001
From: Nils Olof Paulsson <nils.olof.paulsson@liu.se>
Date: Wed, 22 May 2024 09:47:53 +0200
Subject: [PATCH] fixfamily

---
 manifests/firewall.pp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/manifests/firewall.pp b/manifests/firewall.pp
index a46181b..b71080a 100644
--- a/manifests/firewall.pp
+++ b/manifests/firewall.pp
@@ -5,6 +5,7 @@ class aim_control::firewall {
     zone    => 'liu',
     source  => { 'ipset' => 'liu-nets_v4' },
     port    => { 'port' => 33060, 'protocol' => 'tcp' },
+    family  => 'ipv4',
     action  => 'accept',
   }
   firewalld_rich_rule { 'Allow 33060 from liu ipv6':
@@ -12,6 +13,7 @@ class aim_control::firewall {
     zone    => 'liu',
     source  => { 'ipset' => 'liu-nets_v6' },
     port    => { 'port' => 33060, 'protocol' => 'tcp' },
+    family  => 'ipv6',
     action  => 'accept',
   }
   firewalld_rich_rule { 'Allow ssh from liu 10.243.0.0/16':
-- 
GitLab