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.
logger(mesh, MESHLINK_WARNING, "Got %s from %s which does not match existing entry",
"ADD_EDGE", c->name);
edge_del(mesh, e);
- graph(mesh);
}
} else {
return true;