From b716c2b48a77fd0c01be128d704d9cd2cd5243b3 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 3 Sep 2015 18:23:18 +0200 Subject: tests: add concatenations and maps; combine them too This patch adds simple tests for concatenation and maps, including more advanced tests that combine them. Signed-off-by: Pablo Neira Ayuso --- tests/regression/ip/dnat.t | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/regression/ip/dnat.t') diff --git a/tests/regression/ip/dnat.t b/tests/regression/ip/dnat.t index 78fc454d..cdb78116 100644 --- a/tests/regression/ip/dnat.t +++ b/tests/regression/ip/dnat.t @@ -10,3 +10,6 @@ iifname "eth0" tcp dport {80, 90, 23} dnat 192.168.3.2;ok # nft: src/evaluate.c:975: expr_evaluate_relational: Assertion '0' failed. iifname "eth0" tcp dport != 23-34 dnat 192.168.3.2;ok + +dnat ct mark map { 0x00000014 : 1.2.3.4};ok +dnat ct mark . ip daddr map { 0x00000014 . 1.1.1.1 : 1.2.3.4};ok -- cgit v1.2.3