Merge pull request #1470 from syncthing/silence

Silence warnings (ref #1388)
This commit is contained in:
Jakob Borg 2015-03-16 12:01:29 +01:00
commit ea8c3debea

View File

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