]> granicus.if.org Git - ipset/commit
The unnamed union initialization may lead to compilation error
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Tue, 8 Oct 2013 19:05:20 +0000 (21:05 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Tue, 8 Oct 2013 19:05:20 +0000 (21:05 +0200)
commit864a7f592000fd29e7ff56e2790aff632e85a5b1
treeb957ec60ab49fb7762d58f5870707cc4ab369ff7
parent4e80b0e616c12cad14643913347c8d799e65d19d
The unnamed union initialization may lead to compilation error

The unnamed union should be possible to be initialized directly, but
unfortunately it's not so:

/usr/src/ipset/kernel/net/netfilter/ipset/ip_set_hash_netnet.c: In
function ?hash_netnet4_kadt?:
/usr/src/ipset/kernel/net/netfilter/ipset/ip_set_hash_netnet.c:141:
error: unknown field ?cidr? specified in initializer

Reported-by: Husnu Demir <hdemir@metu.edu.tr>
kernel/net/netfilter/ipset/ip_set_hash_netnet.c
kernel/net/netfilter/ipset/ip_set_hash_netportnet.c