Disable verbose logging of unexpected ssdp responses (#15)
* Disable verbose logging of unexpected ssdp responses * Update ssdp.go
This commit is contained in:
parent
679507af18
commit
73053506a9
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user