4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-06-15 17:56:05 +00:00

Delete unused param (#935)

This commit is contained in:
Karandashov Daniil
2022-08-29 22:40:19 +03:00
committed by GitHub
parent af99fa4f6b
commit 486ffebedd
2 changed files with 2 additions and 2 deletions

View File

@ -366,7 +366,7 @@ func run(args yggArgs, ctx context.Context, done chan struct{}) {
} else if err := n.admin.Start(); err != nil {
logger.Errorln("An error occurred starting admin socket:", err)
}
n.admin.SetupAdminHandlers(n.admin)
n.admin.SetupAdminHandlers()
// Start the multicast interface
if err := n.multicast.Init(n.core, cfg, logger, nil); err != nil {
logger.Errorln("An error occurred initialising multicast:", err)