summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian May <brian@linuxpenguins.xyz>2015-11-25 12:59:48 +1100
committerBrian May <brian@linuxpenguins.xyz>2015-11-25 12:59:48 +1100
commit2c2ee12e5844be2cbd729b6e932505ed2b4ccd2a (patch)
tree6984a5e8eac3c58c50b3da138b365d0f4fe29e59
parent256ed7d2447a977f63c33b26b52ac6fa91be12aa (diff)
Formatting change.
-rw-r--r--sshuttle/methods/tproxy.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/sshuttle/methods/tproxy.py b/sshuttle/methods/tproxy.py
index 06e549c..049c843 100644
--- a/sshuttle/methods/tproxy.py
+++ b/sshuttle/methods/tproxy.py
@@ -216,8 +216,7 @@ class Method(BaseMethod):
'--dest', '%s/%s' % (snet, swidth),
'-m', 'tcp', '-p', 'tcp')
else:
- _ipt('-A', mark_chain, '-j', 'MARK',
- '--set-mark', '1',
+ _ipt('-A', mark_chain, '-j', 'MARK', '--set-mark', '1',
'--dest', '%s/%s' % (snet, swidth),
'-m', 'tcp', '-p', 'tcp')
_ipt('-A', tproxy_chain, '-j', 'TPROXY',
@@ -234,8 +233,7 @@ class Method(BaseMethod):
'--dest', '%s/%s' % (snet, swidth),
'-m', 'udp', '-p', 'udp')
elif udp:
- _ipt('-A', mark_chain, '-j', 'MARK',
- '--set-mark', '1',
+ _ipt('-A', mark_chain, '-j', 'MARK', '--set-mark', '1',
'--dest', '%s/%s' % (snet, swidth),
'-m', 'udp', '-p', 'udp')
_ipt('-A', tproxy_chain, '-j', 'TPROXY',