mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
De-debug
This commit is contained in:
parent
707e23d392
commit
4c115de633
9 changed files with 363 additions and 108 deletions
|
@ -64,7 +64,13 @@ func (r *router) init(core *Core) {
|
|||
r.core.tun.send = send
|
||||
r.reset = make(chan struct{}, 1)
|
||||
r.admin = make(chan func())
|
||||
// go r.mainLoop()
|
||||
}
|
||||
|
||||
func (r *router) start() error {
|
||||
r.core.log.Println("Starting router")
|
||||
go r.mainLoop()
|
||||
return nil
|
||||
}
|
||||
|
||||
func (r *router) mainLoop() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue