5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-12-23 12:15:39 +00:00

Configure IPv6Sources

This commit is contained in:
Neil Alexander 2018-11-06 00:05:01 +00:00
parent 8c2327a2bf
commit e3d4aed44a
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -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 {