]> 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)
committerFlorian Westphal <fw@strlen.de>
Wed, 21 Aug 2024 12:22:16 +0000 (14:22 +0200)
commitdb70959a5ccf2952b218f51c3d529e186a5a43bb
tree6067ccb63d0cf22b8b2ee9b60ec0fbbff397b385
parentb8872b83eb365fcc921f2c59ac3ea055ca22c7e7
src: mnl: always dump all netdev hooks if no interface name was given

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
include/iface.h
src/iface.c
src/mnl.c