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
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
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()