Skip to content
This repository has been archived by the owner on Oct 27, 2023. It is now read-only.

Commit

Permalink
fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoreeq committed Nov 1, 2022
1 parent ee7dc33 commit e6ee654
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions cmd/yggdrasil/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -387,12 +387,16 @@ func run(args yggArgs, ctx context.Context) {

popuraConfig.Meshname.Enable = args.meshnameenable
popuraConfig.Meshname.Listen = args.meshnamelisten
n.meshname.Init(n.core, cfg, popuraConfig, logger, nil)
n.meshname.Start()
_ = n.meshname.Init(n.core, cfg, popuraConfig, logger, nil)
if err = n.meshname.Start(); err != nil {
panic(err)
}

popuraConfig.Autopeering.Enable = args.autopeer
n.autopeering.Init(n.core, cfg, popuraConfig, logger, nil)
n.autopeering.Start()
_ = n.autopeering.Init(n.core, cfg, popuraConfig, logger, nil)
if err = n.autopeering.Start(); err != nil {
panic(err)
}
}

// Make some nice output that tells us what our IPv6 address and subnet are.
Expand Down

0 comments on commit e6ee654

Please sign in to comment.