mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 10:37:33 -07:00
.
This commit is contained in:
parent
3b3e6d2bfc
commit
4303c43db7
13 changed files with 560 additions and 296 deletions
|
@ -236,6 +236,11 @@ func (n *Network) MulticastSubscriptions() []*MulticastGroup {
|
|||
return mgs
|
||||
}
|
||||
|
||||
// leaving is called by Node when the network is being left
|
||||
func (n *Network) leaving() {
|
||||
n.tap.Close()
|
||||
}
|
||||
|
||||
func (n *Network) networkConfigRevision() uint64 {
|
||||
n.configLock.RLock()
|
||||
defer n.configLock.RUnlock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue