]> git.ipfire.org Git - thirdparty/iptables.git/commit
nft: break chain listing if only one if looked for
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 17 Jul 2013 12:55:01 +0000 (14:55 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 30 Dec 2013 22:50:38 +0000 (23:50 +0100)
commitda07c930b9e2aaf8df24022a175b1774aa0bdd8b
treed2c864070035c8273e5e9bdca99f9b3815bc9f88
parentf77e1aca9aa8851b469f79c2db80ddb6f49253b2
nft: break chain listing if only one if looked for

Break looping on the chain list if it finds the chain
that the user requested.

Based on patch from Tomasz Bursztyka.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/nft.c