From 344603d4cfe9e98f6203d4577ee6d15873897845 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Tue, 20 Aug 2019 11:34:58 +0200 Subject: 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 --- iptables/nft-shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iptables/nft-shared.c') 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); } -- cgit v1.2.3