Replaced ad-hoc printf with log levels

This commit is contained in:
Michael Bridgen committed 2014-10-20 18:18:16 +01:00
1 parent d3d07deec6
commit 337919d741
6 files changed
+38 -35

No files matched your search

-1
View File
@@ -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)