Replaced ad-hoc printf with log levels
This commit is contained in:
1 parent
d3d07deec6
commit
337919d741
6 files changed
+38
-35
No files matched your search
@@ -79,7 +79,6 @@ func (c *MDNSClient) Start(ifi *net.Interface) error {
|
||||
}
|
||||
|
||||
handleMDNS := func(w dns.ResponseWriter, r *dns.Msg) {
|
||||
//log.Println("client received:", r)
|
||||
// Don't want to handle queries here, so filter anything out that isn't a response
|
||||
if len(r.Answer) > 0 {
|
||||
c.ResponseCallback(r)
|
||||
|
||||
Reference in new issue
Block a user