aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pyroute2/001-ipset-content.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-pyroute2/001-ipset-content.patch')
-rw-r--r--community/py3-pyroute2/001-ipset-content.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/py3-pyroute2/001-ipset-content.patch b/community/py3-pyroute2/001-ipset-content.patch
new file mode 100644
index 0000000000..b74ad3f988
--- /dev/null
+++ b/community/py3-pyroute2/001-ipset-content.patch
@@ -0,0 +1,11 @@
+--- a/pyroute2/wiset.py.orig 2021-05-12 23:14:00.000000000 +0200
++++ b/pyroute2/wiset.py 2021-08-13 19:12:57.590768736 +0200
+@@ -251,6 +251,8 @@
+ proto = IP_PROTOCOLS.get(proto, str(proto)).lower()
+ key += '{proto}:'.format(proto=proto)
+ key += str(entry.get_attr("IPSET_ATTR_PORT_FROM"))
++ elif parse_type == "mac":
++ key += entry.get_attr("IPSET_ATTR_ETHER")
+ key += ","
+
+ key = key.strip(",")