Disable verbose logging of unexpected ssdp responses (#15)

* Disable verbose logging of unexpected ssdp responses

* Update ssdp.go
This commit is contained in:
Aman Gupta 2017-05-11 11:19:13 -07:00 committed by Huin
parent 679507af18
commit 73053506a9

View File

@ -60,7 +60,6 @@ func SSDPRawSearch(httpu *httpu.HTTPUClient, searchTarget string, maxWaitSeconds
continue continue
} }
if st := response.Header.Get("ST"); st != searchTarget { if st := response.Header.Get("ST"); st != searchTarget {
log.Printf("ssdp: got unexpected search target result %q", st)
continue continue
} }
location, err := response.Location() location, err := response.Location()