On Wed, Jun 11, 2014 at 05:50:49PM +0200, Ana Rey wrote: > It changes the parse and the snprint functions to omit unset values. > > This json file is gotten for a set: > { > "set": { > "name": "mi6set3", > "table": "test6", > "flags": "0", > "family": "unknown", > "key_type": "0", > "key_len": "0", > "set_elem": [ > { > "flags": "0", > "key": { > "data_reg": { > "type": "value", > "len": "16", > "data0": "0x000080fe", > "data1": "0x00000000", > "data2": "0xffb30202", > "data3": "0x89001efe" > > Now, This json file is gotten for a set without unset elements. > { > "set": { > "name": "mi6set3", > "table": "test6", > "family": "unknown", > "set_elem": [ > { > "key": { > "data_reg": { > "type": "value", > "len": "16", > "data0": "0x000080fe", > "data1": "0x00000000", > "data2": "0xffb30202", > "data3": "0x89001efe" I have included a note that says that this is the output when printing set elements (where the key and key length are not available). Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html