Commit a4fd38d4 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't send wildcard requests to new nodes.

This avoids a network meltdown in extreme cases.
Thanks to Teco Boot.
parent 20c54066
......@@ -201,12 +201,6 @@ update_neighbour(struct neighbour *neigh, struct hello_history *hist,
}
}
if((hist->reach & 0xFC00) == 0xC000) {
/* This is a newish neighbour, let's request a full route dump.
We ought to avoid this when the network is dense */
send_unicast_request(neigh, NULL, 0, NULL, 0);
send_ihu(neigh, NULL);
}
return rc;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment