diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2012-02-13 18:24:10 -0500 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-03-07 11:40:29 -0500 |
commit | c15f1c83251049182b1771da004d14f29683ab97 (patch) | |
tree | 3545bc015ba3a7691816c065e08e2752b3110253 /include/linux | |
parent | ae5d33723e325392c48bc0ff481d9ec8d646a0ed (diff) |
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 'include/linux')
-rw-r--r-- | include/linux/netfilter/ipset/ip_set.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/netfilter/ipset/ip_set.h b/include/linux/netfilter/ipset/ip_set.h index 3540c6e262f7..e7b06f52be84 100644 --- a/include/linux/netfilter/ipset/ip_set.h +++ b/include/linux/netfilter/ipset/ip_set.h | |||
@@ -288,7 +288,10 @@ struct ip_set_type { | |||
288 | u8 features; | 288 | u8 features; |
289 | /* Set type dimension */ | 289 | /* Set type dimension */ |
290 | u8 dimension; | 290 | u8 dimension; |
291 | /* Supported family: may be AF_UNSPEC for both AF_INET/AF_INET6 */ | 291 | /* |
292 | * Supported family: may be NFPROTO_UNSPEC for both | ||
293 | * NFPROTO_IPV4/NFPROTO_IPV6. | ||
294 | */ | ||
292 | u8 family; | 295 | u8 family; |
293 | /* Type revisions */ | 296 | /* Type revisions */ |
294 | u8 revision_min, revision_max; | 297 | u8 revision_min, revision_max; |