[iptables PATCH] extensions: mark: Test double bitwise in a rule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In v1.8.8, the second bitwise changed the first one, messing
iptables-nft-save output.

Signed-off-by: Phil Sutter <phil@xxxxxx>
---
 extensions/libxt_mark.t | 1 +
 1 file changed, 1 insertion(+)

diff --git a/extensions/libxt_mark.t b/extensions/libxt_mark.t
index 7aeb871588ca6..12c058655f6be 100644
--- a/extensions/libxt_mark.t
+++ b/extensions/libxt_mark.t
@@ -5,3 +5,4 @@
 -m mark --mark 4294967296;;FAIL
 -m mark --mark -1;;FAIL
 -m mark;;FAIL
+-s 1.2.0.0/15 -m mark --mark 0x0/0xff0;=;OK
-- 
2.38.0




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux