lkml.org 
[lkml]   [2020]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH net] netfilter: nf_flowtable: fix documentation
    Date
    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>
    ---
    Documentation/networking/nf_flowtable.txt | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/Documentation/networking/nf_flowtable.txt b/Documentation/networking/nf_flowtable.txt
    index ca2136c76042..0bf32d1121be 100644
    --- a/Documentation/networking/nf_flowtable.txt
    +++ b/Documentation/networking/nf_flowtable.txt
    @@ -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;
    --
    2.24.1
    \
     
     \ /
      Last update: 2020-01-30 20:11    [W:4.423 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site