Merge pull request #1912 from AudriusButkevicius/warnings

Silence discovery warnings (fixes #1388)
This commit is contained in:
Jakob Borg 2015-06-04 19:29:42 +02:00
commit 5cd4cd2271

View File

@ -47,7 +47,9 @@ func (b *Broadcast) writer() {
addrs, err := net.InterfaceAddrs()
if err != nil {
l.Warnln("Broadcast: interface addresses:", err)
if debug {
l.Debugln("Broadcast: interface addresses:", err)
}
continue
}