MCPcopy Create free account
hub / github.com/sshuttle/sshuttle / enable

Method enable

sshuttle/methods/pf.py:66–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

64 ((ord('D')) << 8) | (51))
65
66 def enable(self):
67 if b'INFO:\nStatus: Disabled' in self.status:
68 pfctl('-e')
69 _pf_context['started_by_sshuttle'] += 1
70
71 @staticmethod
72 def disable(anchor):

Callers

nothing calls this directly

Calls 1

pfctlFunction · 0.70

Tested by

no test coverage detected