diff options
author | Florian Westphal <fw@strlen.de> | 2017-10-19 01:03:20 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2017-10-19 13:11:27 +0200 |
commit | 9504cfceca4e9ef8b16be748e92fdc20c10750db (patch) | |
tree | 72497b7c82f11305c92ca9666cf62f8c19c21d25 /src/main.c | |
parent | 8dee5e43ad4beb2b0a95e0bbf2b3972630c1b327 (diff) |
rule: fix netlink debug flag when listing table/rules
nft --debug=netlink list table ...
has no effect anymore.
Callers pass in debug_mask & DEBUG_NETLINK, which gets converted
to 0/1 because the arg is a boolean.
Later on this bool is converted back to an integer, but that
won't have the desired result.
Fixes: be441e1ffdc24 ("src: add debugging mask to context structure")
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions