From 615c75f0f69962e2b670fae9ebc5f64f6e638f76 Mon Sep 17 00:00:00 2001 From: Alexander Ivanov Date: Tue, 9 Aug 2022 18:50:22 +0800 Subject: [PATCH] Do not exit on multicast errors (mobile) --- contrib/mobile/mobile.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/mobile/mobile.go b/contrib/mobile/mobile.go index ba7cfdf6..f2f5884c 100644 --- a/contrib/mobile/mobile.go +++ b/contrib/mobile/mobile.go @@ -62,11 +62,11 @@ func (m *Yggdrasil) StartJSON(configjson []byte) error { if len(m.config.MulticastInterfaces) > 0 { if err := m.multicast.Init(&m.core, m.config, logger, nil); err != nil { logger.Errorln("An error occurred initialising multicast:", err) - return err + return nil } if err := m.multicast.Start(); err != nil { logger.Errorln("An error occurred starting multicast:", err) - return err + return nil } } return nil