aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking
diff options
context:
space:
mode:
authorMatteo Croce <mcroce@redhat.com>2020-01-30 20:10:19 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2020-01-31 19:31:42 +0100
commit78e06cf430934fc3768c342cbebdd1013dcd6fa7 (patch)
treed93659ad5c566656d4ad39ace4fc5ada545d0f9a /Documentation/networking
parentnetfilter: flowtable: Fix setting forgotten NF_FLOW_HW_DEAD flag (diff)
downloadlinux-dev-78e06cf430934fc3768c342cbebdd1013dcd6fa7.tar.xz
linux-dev-78e06cf430934fc3768c342cbebdd1013dcd6fa7.zip
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: 19b351f16fd9 ("netfilter: add flowtable documentation") Signed-off-by: Matteo Croce <mcroce@redhat.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/nf_flowtable.txt2
1 files changed, 1 insertions, 1 deletions
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;