diff options
author | Phil Sutter <phil@nwl.cc> | 2022-02-04 10:16:19 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2022-02-08 11:21:22 +0100 |
commit | ad1ed75f203b614fe8f309df8b5021d5e391708a (patch) | |
tree | 65966fc50322817b7286af7fbbd4015f570a7f4d /iptables/ebtables-nft.8 | |
parent | 17ed253f9dd401d7b83b81f5db93411bee592a40 (diff) |
nft: Set NFTNL_CHAIN_FAMILY in new chains
Kernel doesn't need it, but debug output improves significantly. Before
this patch:
| # iptables-nft -vv -A INPUT
| [...]
| unknown filter INPUT use 0 type filter hook unknown prio 0 policy accept packets 0 bytes 0
| [...]
and after:
| # iptables-nft -vv -A INPUT
| [...]
| ip filter INPUT use 0 type filter hook input prio 0 policy accept packets 0 bytes 0
| [...]
While being at it, make nft_chain_builtin_alloc() take only the builtin
table's name as parameter - it's the only field it accesses.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/ebtables-nft.8')
0 files changed, 0 insertions, 0 deletions