diff options
author | Samuel Bernardo <samuel@lip.pt> | 2020-12-06 18:12:34 +0000 |
---|---|---|
committer | Brian May <brian@linuxpenguins.xyz> | 2020-12-28 10:20:46 +1100 |
commit | 7c338866bf1806d0c14887ff7b44be1bdf97a277 (patch) | |
tree | ac493eab93a18125a5407d22ae7eb793307d993b | |
parent | 6b87ad3fc7c017d597da3cadc740b76695727435 (diff) |
Set default tmark to pass coverage tests
Signed-off-by: Samuel Bernardo <samuel@lip.pt>
-rw-r--r-- | sshuttle/methods/tproxy.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |