netfilter: nf_flowtable: fix documentation
commit78e06cf430
upstream. 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:19b351f16f
("netfilter: add flowtable documentation") Signed-off-by: Matteo Croce <mcroce@redhat.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
beffc17b84
commit
dd3fd6dec3
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue