summaryrefslogtreecommitdiffstats
path: root/src/ipset_hash_netiface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipset_hash_netiface.c')
-rw-r--r--src/ipset_hash_netiface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipset_hash_netiface.c b/src/ipset_hash_netiface.c
index d1f5f7e..51d9cad 100644
--- a/src/ipset_hash_netiface.c
+++ b/src/ipset_hash_netiface.c
@@ -66,7 +66,7 @@ struct ipset_type ipset_hash_netiface0 = {
.name = "hash:net,iface",
.alias = { "netifacehash", NULL },
.revision = 0,
- .family = AF_INET46,
+ .family = NFPROTO_IPSET_IPV46,
.dimension = IPSET_DIM_TWO,
.elem = {
[IPSET_DIM_ONE - 1] = {