]> git.ipfire.org Git - thirdparty/nftables.git/commit
netlink: Use nftnl_expr_fprintf() in netlink_dump_expr()
authorPhil Sutter <phil@nwl.cc>
Wed, 4 Oct 2017 21:41:11 +0000 (23:41 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 17 Oct 2017 13:20:08 +0000 (15:20 +0200)
commit8dee5e43ad4beb2b0a95e0bbf2b3972630c1b327
treeda94856ad6fb71a5deb55918faf399f592bc9347
parent0d2b22cbd57b2f0c617e0bdd5a0c8d2dce284882
netlink: Use nftnl_expr_fprintf() in netlink_dump_expr()

This gets rid of the temporary buffer.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/netlink.c