mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-22 07:53:43 +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,
|
||||
user):
|
||||
if self.firewall.tmark is None:
|
||||
if self.firewall is None:
|
||||
tmark = '1'
|
||||
else:
|
||||
tmark = self.firewall.tmark
|
||||
|
Loading…
Reference in New Issue
Block a user