MCPcopy
hub / github.com/sshuttle/sshuttle / is_supported

Method is_supported

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

Source from the content-addressed store, hash-verified

497 return False
498
499 def is_supported(self):
500 if which("pfctl"):
501 return True
502 debug2("pf method not supported because 'pfctl' command is missing.")
503 return False

Callers 2

test_mainFunction · 0.45
mainFunction · 0.45

Calls 2

whichFunction · 0.90
debug2Function · 0.90

Tested by 1

test_mainFunction · 0.36