derMapLocked returns the current DERPMap. c.L must be held
()
| 336 | |
| 337 | // derMapLocked returns the current DERPMap. c.L must be held |
| 338 | func (c *configMaps) derpMapLocked() *tailcfg.DERPMap { |
| 339 | return c.derpMap.Clone() |
| 340 | } |
| 341 | |
| 342 | // reconfig computes the correct wireguard config and calls the engine.Reconfig |
| 343 | // with the config we have. It is not intended for this to be called outside of |
no test coverage detected