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(-) -- 2.13.1 -- 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