From: Phil Sutter Date: Tue, 20 Aug 2019 09:34:58 +0000 (+0200) Subject: nft: Fix typo in nft_parse_limit() error message X-Git-Tag: v1.8.4~64 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=344603d4cfe9e98f6203d4577ee6d15873897845;p=thirdparty%2Fiptables.git nft: Fix typo in nft_parse_limit() error message Seems like a trivial copy'n'paste bug. Signed-off-by: Phil Sutter Acked-by: Pablo Neira Ayuso --- diff --git a/iptables/nft-shared.c b/iptables/nft-shared.c index 62072520..6fd8ade5 100644 --- a/iptables/nft-shared.c +++ b/iptables/nft-shared.c @@ -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); }