From e3d4aed44adc1dfa1d089ae0d0f1b012b0c71692 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Tue, 6 Nov 2018 00:05:01 +0000 Subject: [PATCH] Configure IPv6Sources --- src/yggdrasil/core.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/yggdrasil/core.go b/src/yggdrasil/core.go index f4fb3d78..31142180 100644 --- a/src/yggdrasil/core.go +++ b/src/yggdrasil/core.go @@ -127,6 +127,11 @@ func (c *Core) Start(nc *config.NodeConfig, log *log.Logger) error { panic(err) } } + for _, source := range nc.TunnelRouting.IPv6Sources { + if c.router.cryptokey.addSourceSubnet(source); err != nil { + panic(err) + } + } } if err := c.admin.start(); err != nil {