summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_rateest.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libxt_rateest.c')
-rw-r--r--extensions/libxt_rateest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_rateest.c b/extensions/libxt_rateest.c
index 9f3a436d..54a7579a 100644
--- a/extensions/libxt_rateest.c
+++ b/extensions/libxt_rateest.c
@@ -432,7 +432,7 @@ rateest_save(const void *ip, const struct xt_entry_match *match)
}
static struct xtables_match rateest_mt_reg = {
- .family = AF_UNSPEC,
+ .family = NFPROTO_UNSPEC,
.name = "rateest",
.version = XTABLES_VERSION,
.size = XT_ALIGN(sizeof(struct xt_rateest_match_info)),