doc: fix example of xt_cpu
PATCH 1/1 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 <[email protected]>
--- extensions/libxt_cpu.man | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
extensions/libxt_cpu.man +2 -2
@@ -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.
Signature · 1 line
2.34.1
Quoted 1 line · Victor Julien
REDIRECT uses --to-ports instead of --to-port.
Applied, thanks Victor!