* [PATCH] doc: fix example of xt_cpu
@ 2023-08-29 12:59 Victor Julien
2023-08-29 14:33 ` Florian Westphal
0 siblings, 1 reply; 2+ messages in thread
From: Victor Julien @ 2023-08-29 12:59 UTC (permalink / raw)
To: netfilter-devel; +Cc: Victor Julien
REDIRECT uses --to-ports instead of --to-port.
Fixes: 2d59208943a3 ("extension: add xt_cpu match")
Signed-off-by: Victor Julien <victor@inliniac.net>
---
extensions/libxt_cpu.man | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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.
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] doc: fix example of xt_cpu
2023-08-29 12:59 [PATCH] doc: fix example of xt_cpu Victor Julien
@ 2023-08-29 14:33 ` Florian Westphal
0 siblings, 0 replies; 2+ messages in thread
From: Florian Westphal @ 2023-08-29 14:33 UTC (permalink / raw)
To: Victor Julien; +Cc: netfilter-devel
Victor Julien <victor@inliniac.net> wrote:
> REDIRECT uses --to-ports instead of --to-port.
Applied, thanks Victor!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-29 14:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-29 12:59 [PATCH] doc: fix example of xt_cpu Victor Julien
2023-08-29 14:33 ` Florian Westphal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).