]> git.ipfire.org Git - thirdparty/nftables.git/commit
libnftables: Introduce nft_ctx_set_error()
authorPhil Sutter <phil@nwl.cc>
Tue, 10 Apr 2018 17:00:21 +0000 (19:00 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 11 Apr 2018 07:57:28 +0000 (09:57 +0200)
commit4176e24e14f0723486253ebcfd2885c77f82f7b1
treef568b8ff2c2ca0a68e3ef1085e7dcb291a694bb6
parent2b3f18e0cf7a7914b500cf17cc47e5bddb9d6848
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 <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/nftables.h
include/nftables/nftables.h
src/erec.c
src/libnftables.c