When we are trying to communicate with peers that don't know our
reflexive address, and we just learned our own one, we want to inform
those peers of it immediately, so they can send PMTU probes to the right
address. A logic error prevented this from happening in the common case.
/* Inform all other nodes we want to communicate with and which are reachable via this connection */
for splay_each(node_t, n, mesh->nodes) {
- if(n->nexthop == c->node) {
+ if(n->nexthop != c->node) {
continue;
}