diff options
author | Florian Westphal <fw@strlen.de> | 2017-08-16 16:12:37 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2017-08-17 12:30:23 +0200 |
commit | 96c1346d5c230d2c381b9c1c9e8e2b30d3915ea1 (patch) | |
tree | 551b5e6c60356b63b1d7b40daee26e38168fa6ae /tests/py/ip/ip.t | |
parent | 63c504cd3c0dbecbe226fbef970e700130367214 (diff) |
tests: add test case for ttl/protocol set
nft .. ip ttl set 42
did set the protocol field and left ttl alone, add test cases for this.
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/ip/ip.t')
-rw-r--r-- | tests/py/ip/ip.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/py/ip/ip.t b/tests/py/ip/ip.t index 9ab15df6..f779dd9a 100644 --- a/tests/py/ip/ip.t +++ b/tests/py/ip/ip.t @@ -127,6 +127,8 @@ iif "lo" ip checksum set 0;ok iif "lo" ip id set 0;ok iif "lo" ip ecn set 1;ok;iif "lo" ip ecn set ect1 iif "lo" ip ecn set ce;ok +iif "lo" ip ttl set 23;ok +iif "lo" ip protocol set 1;ok iif "lo" ip dscp set af23;ok iif "lo" ip dscp set cs0;ok |