diff options
Diffstat (limited to 'src/ipset_hash_netiface.c')
-rw-r--r-- | src/ipset_hash_netiface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipset_hash_netiface.c b/src/ipset_hash_netiface.c index 2fbe27d..d1f5f7e 100644 --- a/src/ipset_hash_netiface.c +++ b/src/ipset_hash_netiface.c @@ -69,12 +69,12 @@ struct ipset_type ipset_hash_netiface0 = { .family = AF_INET46, .dimension = IPSET_DIM_TWO, .elem = { - [IPSET_DIM_ONE] = { + [IPSET_DIM_ONE - 1] = { .parse = ipset_parse_ip4_net6, .print = ipset_print_ip, .opt = IPSET_OPT_IP }, - [IPSET_DIM_TWO] = { + [IPSET_DIM_TWO - 1] = { .parse = ipset_parse_iface, .print = ipset_print_iface, .opt = IPSET_OPT_IFACE |