Ping supernodes on surface change, and also reset TCP flag.
This commit is contained in:
parent
b7148c107d
commit
eeed31b396
3 changed files with 16 additions and 8 deletions
|
@ -468,12 +468,7 @@ Node::ReasonForTermination Node::run()
|
|||
}
|
||||
|
||||
if (resynchronize) {
|
||||
/* Send NOP to all peers on resynchronize, directly to supernodes and
|
||||
* indirectly to regular nodes (to trigger RENDEZVOUS). Also clear
|
||||
* learned paths since they're likely no longer valid, and close
|
||||
* TCP sockets since they're also likely invalid. */
|
||||
RR->sm->closeTcpSockets();
|
||||
RR->topology->eachPeer(Topology::ResetActivePeers(RR,now));
|
||||
} else {
|
||||
/* Periodically check for changes in our local multicast subscriptions
|
||||
* and broadcast those changes to directly connected peers. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue