]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
nft: add missing error string
authorFlorian Westphal <fw@strlen.de>
Sat, 3 Nov 2018 22:45:13 +0000 (23:45 +0100)
committerFlorian Westphal <fw@strlen.de>
Sat, 3 Nov 2018 22:48:43 +0000 (23:48 +0100)
Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/nft.c

index b81f41ab5350ba09e7cee7d65bef3433c3b49cda..f3a3d9d5a2fc8d92fc9182de2f6254b9adb17277 100644 (file)
@@ -290,6 +290,7 @@ static int mnl_append_error(const struct nft_handle *h,
                [NFT_COMPAT_CHAIN_USER_FLUSH] = "CHAIN_USER_FLUSH",
                [NFT_COMPAT_CHAIN_UPDATE] = "CHAIN_UPDATE",
                [NFT_COMPAT_CHAIN_RENAME] = "CHAIN_RENAME",
+               [NFT_COMPAT_CHAIN_ZERO] = "CHAIN_ZERO",
                [NFT_COMPAT_RULE_APPEND] = "RULE_APPEND",
                [NFT_COMPAT_RULE_INSERT] = "RULE_INSERT",
                [NFT_COMPAT_RULE_REPLACE] = "RULE_REPLACE",