diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2011-08-25 11:17:33 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2011-08-31 22:29:38 +0200 |
commit | 541e328689042fb855ac22903996b67b57e1f15a (patch) | |
tree | e88d1dd2078e38e4fbf3b49bbccdc786e3021868 /src/ipset_bitmap_ipmac.c | |
parent | 20a52295775126d1bd5740b6543d1ea8ea239b1b (diff) |
ipset: use NFPROTO_ constants
ipset is actually using NFPROTO values rather than AF (xt_set passes
that along).
Diffstat (limited to 'src/ipset_bitmap_ipmac.c')
-rw-r--r-- | src/ipset_bitmap_ipmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipset_bitmap_ipmac.c b/src/ipset_bitmap_ipmac.c index f8f7495..d822bf6 100644 --- a/src/ipset_bitmap_ipmac.c +++ b/src/ipset_bitmap_ipmac.c @@ -57,7 +57,7 @@ struct ipset_type ipset_bitmap_ipmac0 = { .name = "bitmap:ip,mac", .alias = { "macipmap", NULL }, .revision = 0, - .family = AF_INET, + .family = NFPROTO_IPV4, .dimension = IPSET_DIM_TWO, .last_elem_optional = true, .elem = { |