(hostlist)
| 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) |