]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
nft: Fix typo in nft_parse_limit() error message
authorPhil Sutter <phil@nwl.cc>
Tue, 20 Aug 2019 09:34:58 +0000 (11:34 +0200)
committerPhil Sutter <phil@nwl.cc>
Thu, 26 Sep 2019 08:25:30 +0000 (10:25 +0200)
Seems like a trivial copy'n'paste bug.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/nft-shared.c

index 62072520db2aa9f75559e503ebefe01e09c9933c..6fd8ade5a1e5995b950c08f325ffb2a1f0048dbc 100644 (file)
@@ -566,7 +566,7 @@ static void nft_parse_limit(struct nft_xt_ctx *ctx, struct nftnl_expr *e)
                matches = &ctx->cs->matches;
                break;
        default:
-               fprintf(stderr, "BUG: nft_parse_match() unknown family %d\n",
+               fprintf(stderr, "BUG: nft_parse_limit() unknown family %d\n",
                        ctx->family);
                exit(EXIT_FAILURE);
        }