diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-03-31 13:30:31 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-03-31 19:24:27 +0200 |
commit | 41d48cb6de2c68f05a9122353b1608f34ed33957 (patch) | |
tree | abf04b37b86af89ac54b027415f5fe5e8167feb4 /src/segtree.c | |
parent | fd715872462ef55381c52caef2cca414dfd8883b (diff) |
evaluate: improve error reporting in netdev ingress chain
# nft -f /tmp/x.nft
/tmp/x.nft:3:20-24: Error: The netdev family does not support this hook
type filter hook input device eth0 priority 0
^^^^^
# nft -f /tmp/x.nft
/tmp/x.nft:3:3-49: Error: Missing `device' in this chain definition
type filter hook ingress device eth0 priority 0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/segtree.c')
0 files changed, 0 insertions, 0 deletions