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

Move multicasting into yggdrasil package

This commit is contained in:
Neil Alexander
2018-05-23 11:13:53 +01:00
parent 388ae09fca
commit 6f79184c9b
6 changed files with 196 additions and 129 deletions

View File

@ -387,6 +387,13 @@ func (c *Core) DEBUG_setupAndStartAdminInterface(addrport string) {
c.admin = a
}
func (c *Core) DEBUG_setupAndStartMulticastInterface() {
m := multicast{}
m.init(c)
c.multicast = m
m.Start()
}
////////////////////////////////////////////////////////////////////////////////
func (c *Core) DEBUG_setLogger(log *log.Logger) {
@ -394,7 +401,7 @@ func (c *Core) DEBUG_setLogger(log *log.Logger) {
}
func (c *Core) DEBUG_setIfceExpr(expr *regexp.Regexp) {
c.ifceExpr = expr
c.ifceExpr = append(c.ifceExpr, expr)
}
func (c *Core) DEBUG_addAllowedBoxPub(boxStr string) {