From 6801d713a7e73f7ec661cf71137432a5d0d4402b Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Sun, 9 Dec 2018 17:53:31 +0000 Subject: [PATCH] Also don't start if AdminListen is empty --- src/yggdrasil/admin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yggdrasil/admin.go b/src/yggdrasil/admin.go index 19c8d0a..dea4577 100644 --- a/src/yggdrasil/admin.go +++ b/src/yggdrasil/admin.go @@ -326,7 +326,7 @@ func (a *admin) init(c *Core, listenaddr string) { // start runs the admin API socket to listen for / respond to admin API calls. func (a *admin) start() error { - if a.listenaddr != "none" { + if a.listenaddr != "none" && a.listenaddr != "" { go a.listen() } return nil