4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-06-14 18:36:07 +00:00

Add -normaliseconf option and temporarily correct old config item names in running config

This commit is contained in:
Neil Alexander
2018-05-23 12:04:27 +01:00
parent 9d9083e373
commit ce854a76bd
3 changed files with 37 additions and 2 deletions

View File

@ -391,7 +391,7 @@ func (c *Core) DEBUG_setupAndStartMulticastInterface() {
m := multicast{}
m.init(c)
c.multicast = m
m.Start()
m.start()
}
////////////////////////////////////////////////////////////////////////////////

View File

@ -44,7 +44,7 @@ func (m *multicast) init(core *Core) {
m.core.log.Println("Found", len(m.interfaces), "multicast interface(s)")
}
func (m *multicast) Start() {
func (m *multicast) start() {
if len(m.core.ifceExpr) == 0 {
m.core.log.Println("Multicast discovery is disabled")
} else {