Silence warnings (ref #1388)

This commit is contained in:
Audrius Butkevicius 2015-03-16 10:47:29 +00:00
parent 51c932164f
commit b2425b2a25

View File

@ -59,7 +59,9 @@ func (b *Multicast) writer() {
for bs := range b.inbox {
intfs, err := net.Interfaces()
if err != nil {
l.Warnln("multicast interfaces:", err)
if debug {
l.Debugln("multicast interfaces:", err)
}
continue
}
for _, intf := range intfs {