Tags: pion/mdns
Tags
Include original question in answer Some mDNS clients (especially on Android) require the question to be echoed in the answer in order to properly recognise and process the response. This change ensures the question is sent back alongside the answer. Co-authored-by: atomirex <nige@atomirex.com>
Fix incorrect slice addressing
Slice was being filtered but the loop counter wasn't being modified
```
panic: runtime error: index out of range [1] with length 1
goroutine 8 [running]:
/Users/sean/go/src/github.com/pion/mdns/conn.go:965 +0xb9c
/Users/sean/go/src/github.com/pion/mdns/conn.go:976 +0x1e4
/Users/sean/go/src/github.com/pion/mdns/conn.go:1018 +0x90
/Users/sean/go/src/github.com/pion/mdns/conn.go:1013 +0x234
```
PreviousNext