summaryrefslogtreecommitdiffstats
path: root/iptables/nft-shared.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-08-20 11:34:58 +0200
committerPhil Sutter <phil@nwl.cc>2019-09-26 10:25:30 +0200
commit344603d4cfe9e98f6203d4577ee6d15873897845 (patch)
tree7744fb04885e5b38b06404ae741db769e27a4666 /iptables/nft-shared.c
parentb19d239323dd9f732b24ad6c95101cf7a51c4b20 (diff)
nft: Fix typo in nft_parse_limit() error message
Seems like a trivial copy'n'paste bug. Signed-off-by: Phil Sutter <phil@nwl.cc> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/nft-shared.c')
-rw-r--r--iptables/nft-shared.c2
1 files changed, 1 insertions, 1 deletions
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);
}