]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: mnl: always dump all netdev hooks if no interface name was given
authorFlorian Westphal <fw@strlen.de>
Tue, 20 Aug 2024 22:12:27 +0000 (00:12 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 1 Sep 2025 20:47:56 +0000 (22:47 +0200)
commit76aed4a1603f1a25135a63326be10ffaae97d637
tree0519d9f32e76ed552d14a8e4f718990380cda7b9
parentd66b9d9c887c17b3d7233cf72b17489867e1e11f
src: mnl: always dump all netdev hooks if no interface name was given

commit db70959a5ccf2952b218f51c3d529e186a5a43bb upstream.

Instead of not returning any results for
  nft list hooks netdev

Iterate all interfaces and then query all of them.

Signed-off-by: Florian Westphal <fw@strlen.de>
doc/additional-commands.txt [new file with mode: 0644]
include/iface.h
src/iface.c
src/mnl.c