From 7c338866bf1806d0c14887ff7b44be1bdf97a277 Mon Sep 17 00:00:00 2001 From: Samuel Bernardo Date: Sun, 6 Dec 2020 18:12:34 +0000 Subject: Set default tmark to pass coverage tests Signed-off-by: Samuel Bernardo --- sshuttle/methods/tproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sshuttle/methods/tproxy.py b/sshuttle/methods/tproxy.py index 5ba9e13..e7dba5e 100644 --- a/sshuttle/methods/tproxy.py +++ b/sshuttle/methods/tproxy.py @@ -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 -- cgit v1.2.3