mirror of
https://github.com/soypat/lneto.git
synced 2026-09-10 00:29:34 +00:00
fix spurious endless mdns response
This commit is contained in:
@@ -227,6 +227,7 @@ func (c *Client) encapsResponse(frame []byte) (int, error) {
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
c.rans = c.rans[:0] // Drain pending answers after successful send.
|
||||
return len(data), nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user