Commit 78e06cf4 authored by Matteo Croce's avatar Matteo Croce Committed by Pablo Neira Ayuso

netfilter: nf_flowtable: fix documentation

In the flowtable documentation there is a missing semicolon, the command
as is would give this error:

    nftables.conf:5:27-33: Error: syntax error, unexpected devices, expecting newline or semicolon
                    hook ingress priority 0 devices = { br0, pppoe-data };
                                            ^^^^^^^
    nftables.conf:4:12-13: Error: invalid hook (null)
            flowtable ft {
                      ^^

Fixes: 19b351f1 ("netfilter: add flowtable documentation")
Signed-off-by: default avatarMatteo Croce <mcroce@redhat.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent c22208b7
...@@ -76,7 +76,7 @@ flowtable and add one rule to your forward chain. ...@@ -76,7 +76,7 @@ flowtable and add one rule to your forward chain.
table inet x { table inet x {
flowtable f { flowtable f {
hook ingress priority 0 devices = { eth0, eth1 }; hook ingress priority 0; devices = { eth0, eth1 };
} }
chain y { chain y {
type filter hook forward priority 0; policy accept; type filter hook forward priority 0; policy accept;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment