summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libxt_helper.c')
-rw-r--r--extensions/libxt_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libxt_helper.c b/extensions/libxt_helper.c
index e8f1635d..b60c9826 100644
--- a/extensions/libxt_helper.c
+++ b/extensions/libxt_helper.c
@@ -69,7 +69,7 @@ static void helper_save(const void *ip, const struct xt_entry_match *match)
}
static struct xtables_match helper_match = {
- .family = AF_INET,
+ .family = NFPROTO_IPV4,
.name = "helper",
.version = XTABLES_VERSION,
.size = XT_ALIGN(sizeof(struct xt_helper_info)),
@@ -82,7 +82,7 @@ static struct xtables_match helper_match = {
};
static struct xtables_match helper_match6 = {
- .family = AF_INET6,
+ .family = NFPROTO_IPV6,
.name = "helper",
.version = XTABLES_VERSION,
.size = XT_ALIGN(sizeof(struct xt_helper_info)),