From 4176e24e14f0723486253ebcfd2885c77f82f7b1 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Tue, 10 Apr 2018 19:00:21 +0200 Subject: libnftables: Introduce nft_ctx_set_error() Analogous to nft_ctx_set_output(), this allows to set a custom file pointer for writing error messages to. Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- include/nftables.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/nftables.h') diff --git a/include/nftables.h b/include/nftables.h index 3d96f2e3..1b368971 100644 --- a/include/nftables.h +++ b/include/nftables.h @@ -14,6 +14,7 @@ struct output_ctx { unsigned int handle; unsigned int echo; FILE *output_fp; + FILE *error_fp; }; struct nft_cache { -- cgit v1.2.3