From 9cedfa7ddd3565f4b2e7e771ccb38376eed864a3 Mon Sep 17 00:00:00 2001 From: tripleee Date: Fri, 13 Jan 2017 14:26:04 +0200 Subject: [PATCH] reSt verbatim formatting error The rendered code snippets would be rewrapped as if it were prose, which wreaks havoc with the code. --- docs/transparent.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/transparent.rst b/docs/transparent.rst index 71b485952..8befbac59 100644 --- a/docs/transparent.rst +++ b/docs/transparent.rst @@ -27,7 +27,7 @@ Fully transparent mode By default mitmproxy will use its own local ip address for its server-side connections. In case this isn't desired, the --spoof-source-address argument can be used to use the client's ip address for server-side connections. The following config is -required for this mode to work: +required for this mode to work:: CLIENT_NET=192.168.1.0/24 TABLE_ID=100 @@ -42,7 +42,7 @@ required for this mode to work: This mode does require root privileges though. There's a wrapper in the examples directory called 'mitmproxy_shim.c', which will enable you to use this mode with dropped priviliges. -It can be used as follows: +It can be used as follows:: gcc examples/mitmproxy_shim.c -o mitmproxy_shim -lcap sudo chown root:root mitmproxy_shim