summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_dst.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libip6t_dst.c')
-rw-r--r--extensions/libip6t_dst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libip6t_dst.c b/extensions/libip6t_dst.c
index aff20b7e..dabca0d6 100644
--- a/extensions/libip6t_dst.c
+++ b/extensions/libip6t_dst.c
@@ -224,7 +224,7 @@ static void dst_save(const void *ip, const struct xt_entry_match *match)
static struct xtables_match dst_mt6_reg = {
.name = "dst",
.version = XTABLES_VERSION,
- .family = PF_INET6,
+ .family = NFPROTO_IPV6,
.size = XT_ALIGN(sizeof(struct ip6t_opts)),
.userspacesize = XT_ALIGN(sizeof(struct ip6t_opts)),
.help = dst_help,