learn about new hosts from incoming connections too

This commit is contained in:
Zlatin Balevsky
2019-06-03 07:27:12 +01:00
parent 881d755dd3
commit da007795fb

View File

@@ -55,7 +55,7 @@ class HostCache extends Service {
}
void onConnectionEvent(ConnectionEvent e) {
if (e.incoming || e.leaf)
if (e.leaf)
return
Destination dest = e.endpoint.destination
Host host = hosts.get(dest)