]> git.meshlink.io Git - meshlink/commitdiff
Remove redundant call to graph().
authorGuus Sliepen <guus@meshlink.io>
Sun, 18 Aug 2019 14:54:58 +0000 (16:54 +0200)
committerGuus Sliepen <guus@meshlink.io>
Sun, 18 Aug 2019 14:54:58 +0000 (16:54 +0200)
When we receive an ADD_EDGE for an existing edge but with new information,
don't call graph() between removing the old edge and adding the new one.
This prevents a node from temporarily being considered unreachable, which
in turn would cause the SPTPS state to that node being reset.


No differences found