This commit is contained in:
Adam Ierymenko 2019-09-27 14:55:46 -07:00
commit 4303c43db7
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
13 changed files with 560 additions and 296 deletions

View file

@ -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()