fix linter errors

This commit is contained in:
George
2022-11-01 04:52:39 -04:00
parent ee7dc332ee
commit e6ee65440d
+8 -4
View File
@@ -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.