Skip to content

Commit 12d4b30

Browse files
committed
Fix another MacOSX/Python3.5 issue.
1 parent bd97506 commit 12d4b30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sshuttle/methods/pf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def setup_firewall(self, port, dnsport, nslist, family, subnets, udp):
225225
if sys.platform == "darwin":
226226
o = pfctl('-E')
227227
_pf_context['Xtoken'] = \
228-
re.search(r'Token : (.+)', o[1]).group(1)
228+
re.search(b'Token : (.+)', o[1]).group(1)
229229
elif b'INFO:\nStatus: Disabled' in pf_status:
230230
pfctl('-e')
231231
_pf_context['started_by_sshuttle'] = True

0 commit comments

Comments
 (0)