mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-02-16 18:32:03 +01:00
Set default tmark to pass coverage tests
Signed-off-by: Samuel Bernardo <samuel@lip.pt>
This commit is contained in:
parent
6b87ad3fc7
commit
7c338866bf
@ -152,7 +152,7 @@ class Method(BaseMethod):
|
|||||||
|
|
||||||
def setup_firewall(self, port, dnsport, nslist, family, subnets, udp,
|
def setup_firewall(self, port, dnsport, nslist, family, subnets, udp,
|
||||||
user):
|
user):
|
||||||
if self.firewall.tmark is None:
|
if self.firewall is None:
|
||||||
tmark = '1'
|
tmark = '1'
|
||||||
else:
|
else:
|
||||||
tmark = self.firewall.tmark
|
tmark = self.firewall.tmark
|
||||||
|
Loading…
Reference in New Issue
Block a user