MCPcopy Index your code
hub / github.com/sshuttle/sshuttle / onhostlist

Function onhostlist

sshuttle/client.py:764–769  ·  view source on GitHub ↗
(hostlist)

Source from the content-addressed store, hash-verified

762 sdnotify.send(sdnotify.ready(), sdnotify.status('Connected'))
763
764 def onhostlist(hostlist):
765 debug2('got host list: %r' % hostlist)
766 for line in hostlist.strip().split():
767 if line:
768 name, ip = line.split(b',', 1)
769 fw.sethostip(name, ip)
770 mux.got_host_list = onhostlist
771
772 tcp_listener.add_handler(handlers, onaccept_tcp, method, mux)

Callers

nothing calls this directly

Calls 2

debug2Function · 0.90
sethostipMethod · 0.80

Tested by

no test coverage detected