summaryrefslogtreecommitdiffstats
path: root/sshuttle
diff options
context:
space:
mode:
authorSamuel Bernardo <samuel@lip.pt>2020-12-06 17:51:18 +0000
committerBrian May <brian@linuxpenguins.xyz>2020-12-28 10:20:46 +1100
commit9bdd9fea5d1fc553e9a55170ffa67a17d2918e7c (patch)
treea08fdf1ec30342224c8c5f7dacc0094e66c68a61 /sshuttle
parentd5cceb3e42824e6e5b007b2963b309271bf73462 (diff)
Correct flake8 liting issues
Signed-off-by: Samuel Bernardo <samuel@lip.pt>
Diffstat (limited to 'sshuttle')
-rw-r--r--sshuttle/methods/tproxy.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sshuttle/methods/tproxy.py b/sshuttle/methods/tproxy.py
index 7f503b6..03f8e1b 100644
--- a/sshuttle/methods/tproxy.py
+++ b/sshuttle/methods/tproxy.py
@@ -153,10 +153,10 @@ class Method(BaseMethod):
def setup_firewall(self, port, dnsport, nslist, family, subnets, udp,
user):
self.setup_firewall_tproxy(port, dnsport, nslist, family, subnets, udp,
- user, self.firewall.tmark)
+ user, self.firewall.tmark)
- def setup_firewall_tproxy(self, port, dnsport, nslist, family, subnets, udp,
- user, tmark):
+ def setup_firewall_tproxy(self, port, dnsport, nslist, family, subnets,
+ udp, user, tmark):
if family not in [socket.AF_INET, socket.AF_INET6]:
raise Exception(
'Address family "%s" unsupported by tproxy method'