diff options
Diffstat (limited to 'src/ipset_bitmap_ipmac.c')
-rw-r--r-- | src/ipset_bitmap_ipmac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipset_bitmap_ipmac.c b/src/ipset_bitmap_ipmac.c index f47f25d..f8f7495 100644 --- a/src/ipset_bitmap_ipmac.c +++ b/src/ipset_bitmap_ipmac.c @@ -61,12 +61,12 @@ struct ipset_type ipset_bitmap_ipmac0 = { .dimension = IPSET_DIM_TWO, .last_elem_optional = true, .elem = { - [IPSET_DIM_ONE] = { + [IPSET_DIM_ONE - 1] = { .parse = ipset_parse_single_ip, .print = ipset_print_ip, .opt = IPSET_OPT_IP }, - [IPSET_DIM_TWO] = { + [IPSET_DIM_TWO - 1] = { .parse = ipset_parse_ether, .print = ipset_print_ether, .opt = IPSET_OPT_ETHER |