diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2012-02-14 00:24:10 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-03-07 17:40:29 +0100 |
commit | c15f1c83251049182b1771da004d14f29683ab97 (patch) | |
tree | 3545bc015ba3a7691816c065e08e2752b3110253 /net/netfilter/ipset/ip_set_list_set.c | |
parent | ae5d33723e325392c48bc0ff481d9ec8d646a0ed (diff) | |
download | linux-stable-c15f1c83251049182b1771da004d14f29683ab97.tar.gz linux-stable-c15f1c83251049182b1771da004d14f29683ab97.tar.bz2 linux-stable-c15f1c83251049182b1771da004d14f29683ab97.zip |
netfilter: ipset: use NFPROTO_ constants
ipset is actually using NFPROTO values rather than AF (xt_set passes
that along).
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/ipset/ip_set_list_set.c')
-rw-r--r-- | net/netfilter/ipset/ip_set_list_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipset/ip_set_list_set.c b/net/netfilter/ipset/ip_set_list_set.c index 4d10819d462e..7e095f9005f0 100644 --- a/net/netfilter/ipset/ip_set_list_set.c +++ b/net/netfilter/ipset/ip_set_list_set.c @@ -575,7 +575,7 @@ static struct ip_set_type list_set_type __read_mostly = { .protocol = IPSET_PROTOCOL, .features = IPSET_TYPE_NAME | IPSET_DUMP_LAST, .dimension = IPSET_DIM_ONE, - .family = AF_UNSPEC, + .family = NFPROTO_UNSPEC, .revision_min = 0, .revision_max = 0, .create = list_set_create, |