netfilter: nf_flowtable: fix documentation
authorMatteo Croce <mcroce@redhat.com>
Thu, 30 Jan 2020 19:10:19 +0000 (20:10 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 31 Jan 2020 18:31:42 +0000 (19:31 +0100)
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: 19b351f16fd9 ("netfilter: add flowtable documentation")
Signed-off-by: Matteo Croce <mcroce@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Documentation/networking/nf_flowtable.txt

index ca2136c76042c4ded1aa1608ea38f405e04772da..0bf32d1121bec350cc8b59a3199c5fe6c511165e 100644 (file)
@@ -76,7 +76,7 @@ flowtable and add one rule to your forward chain.
 
         table inet x {
                flowtable f {
-                       hook ingress priority 0 devices = { eth0, eth1 };
+                       hook ingress priority 0; devices = { eth0, eth1 };
                }
                 chain y {
                         type filter hook forward priority 0; policy accept;