From: Levi Zim via B4 Relay <devnull+rsworktech.outlook.com@kernel.org>
To: "David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>,
Jonathan Corbet <corbet@lwn.net>
Cc: netdev@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org, Levi Zim <rsworktech@outlook.com>
Subject: [PATCH net] docs: tproxy: fix code block style
Date: Sun, 27 Apr 2025 22:36:59 +0800 [thread overview]
Message-ID: <20250427-tproxy-docs-fix-v1-1-988e94844ccb@outlook.com> (raw)
From: Levi Zim <rsworktech@outlook.com>
The last command is not indented thus does not show as code block when
rendered. This patch fixes it.
Fixes: 4ac0b122ee63 ("docs: networking: convert tproxy.txt to ReST")
Signed-off-by: Levi Zim <rsworktech@outlook.com>
---
Documentation/networking/tproxy.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/networking/tproxy.rst b/Documentation/networking/tproxy.rst
index 7f7c1ff6f159ed98d96c63d99c98ddbaefd47124..102c030e3cf06d6e9607f7668b417b99a3a62300 100644
--- a/Documentation/networking/tproxy.rst
+++ b/Documentation/networking/tproxy.rst
@@ -71,7 +71,7 @@ add rules like this to the iptables ruleset above::
Or the following rule to nft:
-# nft add rule filter divert tcp dport 80 tproxy to :50080 meta mark set 1 accept
+ # nft add rule filter divert tcp dport 80 tproxy to :50080 meta mark set 1 accept
Note that for this to work you'll have to modify the proxy to enable (SOL_IP,
IP_TRANSPARENT) for the listening socket.
---
base-commit: f73f05c6f711fd1628c7565441b9febc0c4d6c58
change-id: 20250427-tproxy-docs-fix-ccbbbf42549f
Best regards,
--
Levi Zim <rsworktech@outlook.com>
next reply other threads:[~2025-04-27 14:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-27 14:36 Levi Zim via B4 Relay [this message]
2025-04-28 11:20 ` Bagas Sanjaya
2025-04-29 14:51 ` Levi Zim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250427-tproxy-docs-fix-v1-1-988e94844ccb@outlook.com \
--to=devnull+rsworktech.outlook.com@kernel.org \
--cc=corbet@lwn.net \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rsworktech@outlook.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®