mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-21 20:40:28 +00:00
Merge branch 'develop' into neilalexander/refactor
This commit is contained in:
commit
a182fad8d6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user