From: Victor Julien Date: Tue, 29 Aug 2023 12:59:32 +0000 (+0200) Subject: doc: fix example of xt_cpu X-Git-Tag: v1.8.10~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=63e4a64e943be64a7e0486838071b981074e696d;p=thirdparty%2Fiptables.git doc: fix example of xt_cpu REDIRECT uses --to-ports instead of --to-port. Fixes: 2d59208943a3 ("extension: add xt_cpu match") Signed-off-by: Victor Julien Signed-off-by: Florian Westphal --- diff --git a/extensions/libxt_cpu.man b/extensions/libxt_cpu.man index d9ea5c2f..c89ef08a 100644 --- a/extensions/libxt_cpu.man +++ b/extensions/libxt_cpu.man @@ -7,9 +7,9 @@ multiqueue NICs to spread network traffic on different queues. Example: .PP iptables \-t nat \-A PREROUTING \-p tcp \-\-dport 80 \-m cpu \-\-cpu 0 -\-j REDIRECT \-\-to\-port 8080 +\-j REDIRECT \-\-to\-ports 8080 .PP iptables \-t nat \-A PREROUTING \-p tcp \-\-dport 80 \-m cpu \-\-cpu 1 -\-j REDIRECT \-\-to\-port 8081 +\-j REDIRECT \-\-to\-ports 8081 .PP Available since Linux 2.6.36.