lib/connections: Announce LAN addresses by default (fixes #6928) (#6896)

This commit is contained in:
Audrius Butkevicius
2020-08-25 11:48:14 +02:00
committed by GitHub
parent d507d932b8
commit b19b5c95d3
10 changed files with 305 additions and 198 deletions
+4 -1
View File
@@ -166,8 +166,11 @@ func (c *localClient) recvAnnouncements(ctx context.Context) {
}
buf, addr := b.Recv()
if addr == nil {
continue
}
if len(buf) < 4 {
l.Debugf("discover: short packet from %s")
l.Debugf("discover: short packet from %s", addr.String())
continue
}