]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: py: adapt it to new add element command semantics
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 29 Aug 2016 17:50:45 +0000 (19:50 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 29 Aug 2016 18:30:23 +0000 (20:30 +0200)
commitd089630ecbc783d7f0c6df972033694b1671c009
tree813700a839e569116e40f30d81ca228748ecb20d
parente7b1270057037c1c2524204c4c903c995cf77aab
tests: py: adapt it to new add element command semantics

Since fd33d96 ("src: create element command"), add element doesn't
fail anymore if the element exists, you have to use create instead in
case you want to check if the element already exists.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/py/ip/sets.t
tests/py/ip6/sets.t