diff options
author | a1346054 <36859588+a1346054@users.noreply.github.com> | 2021-09-22 12:13:22 +0000 |
---|---|---|
committer | a1346054 <36859588+a1346054@users.noreply.github.com> | 2021-09-22 12:36:36 +0000 |
commit | b95c1f3357cccaaecd305f50e58e230cfdd47021 (patch) | |
tree | b9b17b60d13f7750d6c9e48a260a3f815d74b778 /sshuttle | |
parent | 5257d9fd1bc94996de26fea84b97c128322604da (diff) |
Trim excess whitespace
Diffstat (limited to 'sshuttle')
-rw-r--r-- | sshuttle/methods/pf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sshuttle/methods/pf.py b/sshuttle/methods/pf.py index c8fe3fd..ed56c51 100644 --- a/sshuttle/methods/pf.py +++ b/sshuttle/methods/pf.py @@ -273,7 +273,7 @@ class OpenBsd(Generic): def add_anchors(self, anchor): # before adding anchors and rules we must override the skip lo # that comes by default in openbsd pf.conf so the rules we will add, - # which rely on translating/filtering packets on lo, can work + # which rely on translating/filtering packets on lo, can work if self.has_skip_loopback(): pfctl('-f /dev/stdin', b'match on lo\n') super(OpenBsd, self).add_anchors(anchor) @@ -353,7 +353,7 @@ class Darwin(FreeBsd): def add_anchors(self, anchor): # before adding anchors and rules we must override the skip lo # that in some cases ends up in the chain so the rules we will add, - # which rely on translating/filtering packets on lo, can work + # which rely on translating/filtering packets on lo, can work if self.has_skip_loopback(): pfctl('-f /dev/stdin', b'pass on lo\n') super(Darwin, self).add_anchors(anchor) |