learn about new hosts from incoming connections too

pull/4/head
Zlatin Balevsky 2019-06-03 07:27:12 +01:00
parent 881d755dd3
commit da007795fb
1 changed files with 1 additions and 1 deletions

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)