mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-12 16:26:37 +00:00
Merge pull request #1912 from AudriusButkevicius/warnings
Silence discovery warnings (fixes #1388)
This commit is contained in:
commit
5cd4cd2271
@ -47,7 +47,9 @@ func (b *Broadcast) writer() {
|
|||||||
|
|
||||||
addrs, err := net.InterfaceAddrs()
|
addrs, err := net.InterfaceAddrs()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
l.Warnln("Broadcast: interface addresses:", err)
|
if debug {
|
||||||
|
l.Debugln("Broadcast: interface addresses:", err)
|
||||||
|
}
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user