mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-09 21:49:39 -05:00
move MapResponse peer logic into function and reuse
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
committed by
Kristoffer Dalby
parent
387aa03adb
commit
432e975a7f
@@ -92,6 +92,8 @@ type Headscale struct {
|
||||
|
||||
shutdownChan chan struct{}
|
||||
pollNetMapStreamWG sync.WaitGroup
|
||||
|
||||
pollStreamOpenMu sync.Mutex
|
||||
}
|
||||
|
||||
func NewHeadscale(cfg *types.Config) (*Headscale, error) {
|
||||
|
||||
Reference in New Issue
Block a user