From 4ee5d9d18bfa76b4e30c6fd5f803d17141d82279 Mon Sep 17 00:00:00 2001 From: Or Yaacov Date: Tue, 13 Aug 2024 19:19:00 +0300 Subject: [PATCH] fix(ipset): change ipset attr line number to be32 --- pyroute2/netlink/nfnetlink/ipset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyroute2/netlink/nfnetlink/ipset.py b/pyroute2/netlink/nfnetlink/ipset.py index 7e7f30fb1..04788dab6 100644 --- a/pyroute2/netlink/nfnetlink/ipset.py +++ b/pyroute2/netlink/nfnetlink/ipset.py @@ -86,7 +86,7 @@ class ipset_msg(nfgen_msg): ('IPSET_ATTR_FLAGS', 'be32'), ('IPSET_ATTR_DATA', 'get_data_type'), ('IPSET_ATTR_ADT', 'attr_adt'), - ('IPSET_ATTR_LINENO', 'hex'), + ('IPSET_ATTR_LINENO', 'be32'), ('IPSET_ATTR_PROTOCOL_MIN', 'uint8'), ('IPSET_ATTR_INDEX', 'be16'), )