MCPcopy
hub / github.com/sshuttle/sshuttle / pf_get_anchor

Function pf_get_anchor

sshuttle/methods/pf.py:413–414  ·  view source on GitHub ↗
(family, port)

Source from the content-addressed store, hash-verified

411
412
413def pf_get_anchor(family, port):
414 return 'sshuttle%s-%d' % ('' if family == socket.AF_INET else '6', port)
415
416
417class Method(BaseMethod):

Callers 2

setup_firewallMethod · 0.85
restore_firewallMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected