Skip to content

Review code regarding output_fp

Phil Sutter netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Make 'nft export' respect output_fpsrc/rule.c+7 -20 replies
2/2monitor: Make JSON output respect output_fpsrc/netlink.c+18 -2015 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [nft PATCH 0/2] Review code regarding output_fp

Grepping the code for 'stdout' revealed two places where application-defined output_fp is ignored and instead direct printing to stdout happens: One is 'nft export' output, the other is 'nft monitor' output if JSON output was chosen. This series fixes both.

Phil Sutter (2):
Make 'nft export' respect output_fp
monitor: Make JSON output respect output_fp

 src/netlink.c | 38 ++++++++++++++++++--------------------
 src/rule.c    |  9 +++++++--
 2 files changed, 25 insertions(+), 22 deletions(-)
Signature · 1 line
2.13.1