summaryrefslogtreecommitdiffstats
path: root/src/ipset_hash_ipportip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipset_hash_ipportip.c')
-rw-r--r--src/ipset_hash_ipportip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipset_hash_ipportip.c b/src/ipset_hash_ipportip.c
index 9a2c44c..7c046a3 100644
--- a/src/ipset_hash_ipportip.c
+++ b/src/ipset_hash_ipportip.c
@@ -89,7 +89,7 @@ struct ipset_type ipset_hash_ipportip1 = {
.name = "hash:ip,port,ip",
.alias = { "ipportiphash", NULL },
.revision = 1,
- .family = AF_INET46,
+ .family = NFPROTO_IPSET_IPV46,
.dimension = IPSET_DIM_THREE,
.elem = {
[IPSET_DIM_ONE - 1] = {