32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
From 44442eace5a5a4330fb40d47cd9fb3c561d38c56 Mon Sep 17 00:00:00 2001
|
|
From: Fabrizio D'Angelo <fdangelo@redhat.com>
|
|
Date: Mon, 12 Apr 2021 13:56:00 -0400
|
|
Subject: [PATCH 25/30] fix(ipset): fix hash:net,net functionality
|
|
|
|
Fixes: rhbz 1936896
|
|
|
|
Signed-off-by: Fabrizio D'Angelo <fdangelo@redhat.com>
|
|
(cherry picked from commit 36f3d50d729d3329ce99653d8227e3f52a02a43f)
|
|
(cherry picked from commit 3ea4779dc4a957f9c0eb795ab0b00e67d653b772)
|
|
---
|
|
src/firewall/core/nftables.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/firewall/core/nftables.py b/src/firewall/core/nftables.py
|
|
index e6907421e111..e3ae988bbdab 100644
|
|
--- a/src/firewall/core/nftables.py
|
|
+++ b/src/firewall/core/nftables.py
|
|
@@ -1742,8 +1742,8 @@ class nftables(object):
|
|
"hash:ip,mark" : [ipv_addr[ipv], "mark"],
|
|
|
|
"hash:net" : ipv_addr[ipv],
|
|
+ "hash:net,net" : [ipv_addr[ipv], ipv_addr[ipv]],
|
|
"hash:net,port" : [ipv_addr[ipv], "inet_proto", "inet_service"],
|
|
- "hash:net,port,ip" : [ipv_addr[ipv], "inet_proto", "inet_service", ipv_addr[ipv]],
|
|
"hash:net,port,net" : [ipv_addr[ipv], "inet_proto", "inet_service", ipv_addr[ipv]],
|
|
"hash:net,iface" : [ipv_addr[ipv], "ifname"],
|
|
|
|
--
|
|
2.27.0
|
|
|