diff options
author | Florian Westphal <fw@strlen.de> | 2017-09-29 13:54:21 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2017-09-29 13:54:21 +0200 |
commit | 67d4030ddf8ceb62da05b78502c6de1b6b367e42 (patch) | |
tree | a6213833348fba849359ba974bb2a91ea3f58e90 /tests/py/ip/rt.t | |
parent | d53f6caace0759c0e79fe6e7b647bd6f20201e28 (diff) |
tests: rt: fix test cases
nfproto meta dependency is no longer needed, keep one test
since we still support this syntax.
When meta is not provided, no need to add a dependency because
nft_rt already checks pf number before checking skb->dst.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/ip/rt.t')
-rw-r--r-- | tests/py/ip/rt.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/py/ip/rt.t b/tests/py/ip/rt.t index 99750c5d..986bf341 100644 --- a/tests/py/ip/rt.t +++ b/tests/py/ip/rt.t @@ -2,5 +2,6 @@ *ip;test-ip4;output -rt nexthop 192.168.0.1;ok +rt nexthop 192.168.0.1;ok;rt ip nexthop 192.168.0.1 rt nexthop fd00::1;fail +rt ip6 nexthop fd00::1;fail |