mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-06-17 02:26:07 +00:00
update ironwood dependency, add a debug API call for lookups
This commit is contained in:
@ -216,6 +216,9 @@ func main() {
|
||||
options := []admin.SetupOption{
|
||||
admin.ListenAddress(cfg.AdminListen),
|
||||
}
|
||||
if cfg.LogLookups {
|
||||
options = append(options, admin.LogLookups{})
|
||||
}
|
||||
if n.admin, err = admin.New(n.core, logger, options...); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user