We don't care about these messages either
This commit is contained in:
parent
6304000b09
commit
2963a9d96a
@ -348,12 +348,10 @@ func (c *client) recv(l *net.UDPConn, msgCh chan *dns.Msg) {
|
||||
c.closeLock.Unlock()
|
||||
n, err := l.Read(buf)
|
||||
if err != nil {
|
||||
log.Printf("[ERR] mdns: Failed to read packet: %v", err)
|
||||
continue
|
||||
}
|
||||
msg := new(dns.Msg)
|
||||
if err := msg.Unpack(buf[:n]); err != nil {
|
||||
log.Printf("[ERR] mdns: Failed to unpack packet: %v", err)
|
||||
continue
|
||||
}
|
||||
select {
|
||||
|
Loading…
x
Reference in New Issue
Block a user