diff options
author | tripleee <era+github.com@iki.fi> | 2017-01-13 14:26:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-13 14:26:04 +0200 |
commit | 9cedfa7ddd3565f4b2e7e771ccb38376eed864a3 (patch) | |
tree | 110a8fa0a84cbf0024c8dce0997146c6ef8a6d04 | |
parent | 6f9422dfb998a1b6c8ba49a0076942f201f54e07 (diff) | |
download | mitmproxy-9cedfa7ddd3565f4b2e7e771ccb38376eed864a3.tar.gz mitmproxy-9cedfa7ddd3565f4b2e7e771ccb38376eed864a3.tar.bz2 mitmproxy-9cedfa7ddd3565f4b2e7e771ccb38376eed864a3.zip |
reSt verbatim formatting error
The rendered code snippets would be rewrapped as if it were prose, which wreaks havoc with the code.
-rw-r--r-- | docs/transparent.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/transparent.rst b/docs/transparent.rst index 71b48595..8befbac5 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 |