diff --git a/contrib/mobile/mobile.go b/contrib/mobile/mobile.go index fc85036..85535ee 100644 --- a/contrib/mobile/mobile.go +++ b/contrib/mobile/mobile.go @@ -85,11 +85,8 @@ 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 - } - if err := m.multicast.Start(); err != nil { + } else if err := m.multicast.Start(); err != nil { logger.Errorln("An error occurred starting multicast:", err) - return err } } return nil