4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-06-15 15:36:06 +00:00

Remove router.doAdmin and switchTable.doAdmin

This commit is contained in:
Neil Alexander
2019-08-28 12:17:19 +01:00
parent a8b323acdd
commit 5d7d84f827
8 changed files with 15 additions and 25 deletions

View File

@ -56,8 +56,7 @@ func (c *cryptokey) init(tun *TunAdapter) {
}
}
// Configure the CKR routes - this must only ever be called from the router
// goroutine, e.g. through router.doAdmin
// Configure the CKR routes.
func (c *cryptokey) configure() error {
current := c.tun.config.GetCurrent()