Skip to content

Commit

Permalink
Merge branch 'main' of github.com:wugeer/dae-wing
Browse files Browse the repository at this point in the history
  • Loading branch information
wugeer committed Mar 8, 2024
2 parents ef08d55 + df283ad commit 18a0587
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dae-core
9 changes: 6 additions & 3 deletions dae/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,12 @@ func Run(log *logrus.Logger, conf *daeConfig.Config, externGeoDataDirs []string,
<-readyChan
log.Infoln("Ready")
}()
if listener, err = c.ListenAndServe(readyChan, conf.Global.TproxyPort); err != nil {
log.Errorln("ListenAndServe:", err)
}
control.GetDaeNetns().With(func() error {
if listener, err = c.ListenAndServe(readyChan, conf.Global.TproxyPort); err != nil {
log.Errorln("ListenAndServe:", err)
}
return err
})
// Exit
ChReloadConfigs <- nil
}()
Expand Down

0 comments on commit 18a0587

Please sign in to comment.