From 88a393a7b334d51983f042e835820586e937b275 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Sat, 3 Sep 2022 17:26:12 +0100 Subject: [PATCH] Load listen addresses --- cmd/yggdrasil/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/yggdrasil/main.go b/cmd/yggdrasil/main.go index a2aec15b..2486df45 100644 --- a/cmd/yggdrasil/main.go +++ b/cmd/yggdrasil/main.go @@ -294,6 +294,9 @@ func run(args yggArgs, ctx context.Context, done chan struct{}) { core.IfName(cfg.IfName), core.IfMTU(cfg.IfMTU), } + for _, addr := range cfg.Listen { + options = append(options, core.ListenAddress(addr)) + } for _, peer := range cfg.Peers { options = append(options, core.Peer{URI: peer}) }