mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-02-16 10:29:36 +01:00
Fix lint issues
This commit is contained in:
parent
5b9f438d42
commit
3abc3d2a1a
@ -371,7 +371,7 @@ class FirewallClient:
|
||||
if self.group is None:
|
||||
group = b'-'
|
||||
elif isinstance(self.group, str):
|
||||
group = bytes(self.group, 'utf-8')
|
||||
group = bytes(self.group, 'utf-8')
|
||||
else:
|
||||
group = b'%d' % self.group
|
||||
self.pfile.write(b'GO %d %s %s %s %d\n' %
|
||||
|
@ -74,7 +74,7 @@ class Method(BaseMethod):
|
||||
_ipt('-A', chain, '-j', 'REDIRECT',
|
||||
'--dest', '%s/%s' % (snet, swidth),
|
||||
*(tcp_ports + ('--to-ports', str(port))))
|
||||
|
||||
|
||||
# Don't route any remaining local traffic through sshuttle.
|
||||
_ipt('-A', chain, '-j', 'RETURN',
|
||||
'-m', 'addrtype',
|
||||
|
Loading…
Reference in New Issue
Block a user