Skip to content

Do not print unset value in xml file

Ana Rey netfilter-devel 4 versions – Applied

Status from this message: Applied, but I have merge the two variable definitions above.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 3 repliesApplied
  2. v32 patches 1 replySuperseded
  3. v22 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches2 repliesApplied

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3expr: log: Rename variables in nft_rule_expr_log_json_parse functionssrc/expr/log.c+6 -51 reply
2/3expr: log: Use nft_rule_expr_set_* in the xml parsing codesrc/expr/log.c+24 -251 reply
3/3expr: log: Do not print unset values in xmlsrc/expr/log.c+31 -181 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [libnftnl PATCH v4 0/3] Do not print unset value in xml file

Hi,

In this version, I add a new patch:
"expr: log: Rename variables in nft_rule_expr_log_json_parse functions"

It removes these changes out of "Use nft_rule_expr_set_* in the xml parsing code" patch.

Also, I fix some errors with nft_rule_expr_set_* functions in "Use nft_rule_expr_set_* in the xml parsing code" patch.

[Change in v3:]
In this version, I rename some variables, I fix writing errors in the patch description and I fix wrong indentation.

[Change in v2:]

Hi,
After some advises of Arturo Borrero, I send a previous patch to 'Code refactoring to use nft_rule_expr_set_* functions' patch and v2 of "Do not print unset values in xml" patch.

Ana Rey (3):
expr: log: Rename variables in nft_rule_expr_log_json_parse functions
expr: log: Use nft_rule_expr_set_* in the xml parsing code
expr: log: Do not print unset values in xml

 src/expr/log.c | 95 +++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 54 insertions(+), 41 deletions(-)
Signature · 1 line
2.0.0.rc2