From b2425b2a25a31193b3371b23f468b6f0c3ce9a1d Mon Sep 17 00:00:00 2001 From: Audrius Butkevicius Date: Mon, 16 Mar 2015 10:47:29 +0000 Subject: [PATCH] Silence warnings (ref #1388) --- internal/beacon/multicast.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/beacon/multicast.go b/internal/beacon/multicast.go index f439ccfb..07bfe8da 100644 --- a/internal/beacon/multicast.go +++ b/internal/beacon/multicast.go @@ -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 {