With this patchset It does not print unset value in xml and json file. Also, I do some tasks about refactoring code: Use of nft_rule_expr_reject_snprinf_* functions, add nft_rule_expr_reject_snprinf_* function and convert incorrect type of a variable. Ana Rey (5): expr: reject: Add nft_rule_expr_reject_snprinf_* functions expr: reject: Use nft_rule_expr_set_* in the xml and default parsing code expr: reject: Do not print unset values in xml expr: reject: Convert the type of a variable expr: reject: Do not print unset values in json src/expr/reject.c | 108 ++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 73 insertions(+), 35 deletions(-) -- 2.0.0.rc2 -- 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