Signed-off-by: Carlos Falgueras García
---
tests/nft-set-test.c | 4
1 file changed, 4 insertions(+)
diff --git a/tests/nft-set-test.c b/tests/nft-set-test.c
index f6fbfb5..173c17f 100644
--- a/tests/nft-set-test.c
+++ b/tests/nft-set-test.c
@@ -47,6 +47,9 @@ static
The new structure 'user' holds a pointer to user data and its length. The
kernel must have the flag NFTA_SET_USERDATA to support this feature.
Signed-off-by: Carlos Falgueras García
---
include/libnftnl/set.h | 1 +
include/set.h | 4
src/set.c
We need the string length
Signed-off-by: Carlos Falgueras García
---
src/set.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/set.c b/src/set.c
index 879100c..edbcbe5 100644
--- a/src/set.c
+++ b/src/set.c
@@ -203,7 +203,7 @@
From: Liping Zhang
Before:
# iptables-translate -A INPUT -m realm --realm 1/0xf
nft add rule ip filter INPUT rtclassid and 0x1 == 0xf counter
Apply this patch:
# iptables-translate -A INPUT -m realm --realm 1/0xf
nft add rule ip filter INPUT rtclassid and