This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user