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