From 2c2ee12e5844be2cbd729b6e932505ed2b4ccd2a Mon Sep 17 00:00:00 2001 From: Brian May Date: Wed, 25 Nov 2015 12:59:48 +1100 Subject: [PATCH] Formatting change. --- sshuttle/methods/tproxy.py | 6 ++---- 1 file 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',