Commit 7c338866 authored by Samuel Bernardo's avatar Samuel Bernardo Committed by Brian May

Set default tmark to pass coverage tests

Signed-off-by: 's avatarSamuel Bernardo <samuel@lip.pt>
parent 6b87ad3f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment