]> git.ipfire.org Git - thirdparty/nftables.git/commit
libnftables: call nft_cmd_expand() only with CMD_ADD
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 8 May 2020 12:44:02 +0000 (14:44 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 14 May 2020 14:53:05 +0000 (16:53 +0200)
commitb81519f1641b508c289ddfefc800b2c20ab243e6
tree203c730f1a57ea70c718c72e6092a526ef5cfc03
parent9ed076c6f5abcbbad1b6b721dca29f87963f0ecc
libnftables: call nft_cmd_expand() only with CMD_ADD

Restrict the expansion logic to the CMD_ADD command which is where this
is only required.

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