mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-25 09:23:48 +01:00
Set default tmark to pass coverage tests
Signed-off-by: Samuel Bernardo <samuel@lip.pt>
This commit is contained in:
parent
0efd23f3b8
commit
6b87ad3fc7
@ -152,8 +152,13 @@ class Method(BaseMethod):
|
||||
|
||||
def setup_firewall(self, port, dnsport, nslist, family, subnets, udp,
|
||||
user):
|
||||
if self.firewall.tmark is None:
|
||||
tmark = '1'
|
||||
else:
|
||||
tmark = self.firewall.tmark
|
||||
|
||||
self.setup_firewall_tproxy(port, dnsport, nslist, family, subnets, udp,
|
||||
user, self.firewall.tmark)
|
||||
user, tmark)
|
||||
|
||||
def setup_firewall_tproxy(self, port, dnsport, nslist, family, subnets,
|
||||
udp, user, tmark):
|
||||
|
Loading…
Reference in New Issue
Block a user