]> git.ipfire.org Git - thirdparty/nftables.git/commit
mnl: restore --debug=netlink output with sets
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 27 Apr 2020 18:40:12 +0000 (20:40 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 28 Apr 2020 15:32:35 +0000 (17:32 +0200)
commit79acbfdbe5364daf4f482871fec74a511c63b97e
tree658ef6bb531c26c7762a608443fd9dd8bcdcd8f5
parent01ae74cdd7579510c7e5d2be40f32404f53f5ec1
mnl: restore --debug=netlink output with sets

(null) (null) b size 1

The debugging output displays table and set names as (null). This patch
sets the table and name before displaying the netlink debugging, then
unset them to not break the extended error support.

Fixes: 086ec6f30c96 ("mnl: extended error support for create command")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/mnl.c