Displaying 1 result from an estimated 1 matches for "last_elem_optional".
2013 Jul 28
1
[Bug 836] New: ipset_parse_elem is declared/defined with wrong parameter type
...rg.uk
Estimated Hours: 0.0
Created attachment 408
--> https://bugzilla.netfilter.org/attachment.cgi?id=408
Patch to change 2nd parameter type of ipset_parse_elem
The only place in ipset where ipset_parse_elem is called is src/ipset.c. The
second parameter to the function call is type->last_elem_optional, which is of
type bool, but ipset_parse_elem is defined in lib/parse.c with the second
parameter having type enum ipset_opt.
The use in lib/parse.c is clearly as a bool.
A patch is attached.
--
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving t...