Seems like a trivial copy'n'paste bug. Signed-off-by: Phil Sutter <phil@xxxxxx> --- iptables/nft-shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iptables/nft-shared.c b/iptables/nft-shared.c index 1c09277d85fb5..904bc845e6a41 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); } -- 2.22.0