summaryrefslogtreecommitdiffstats
path: root/src/ipset_hash_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipset_hash_net.c')
-rw-r--r--src/ipset_hash_net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipset_hash_net.c b/src/ipset_hash_net.c
index 587f891..76269f0 100644
--- a/src/ipset_hash_net.c
+++ b/src/ipset_hash_net.c
@@ -73,7 +73,7 @@ struct ipset_type ipset_hash_net0 = {
.name = "hash:net",
.alias = { "nethash", NULL },
.revision = 0,
- .family = AF_INET46,
+ .family = NFPROTO_IPSET_IPV46,
.dimension = IPSET_DIM_ONE,
.elem = {
[IPSET_DIM_ONE - 1] = {
@@ -125,7 +125,7 @@ struct ipset_type ipset_hash_net1 = {
.name = "hash:net",
.alias = { "nethash", NULL },
.revision = 1,
- .family = AF_INET46,
+ .family = NFPROTO_IPSET_IPV46,
.dimension = IPSET_DIM_ONE,
.elem = {
[IPSET_DIM_ONE - 1] = {