Commit 40a6ec07 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't send full table when overflowing single packet, just split.

parent ce9e9de6
......@@ -736,9 +736,8 @@ send_update(struct network *net, int urgent,
if(prefix) {
if(updates > net->bufsize / 24 - 2) {
/* Update won't fit in a single packet -- send a full dump. */
send_update(net, urgent, NULL, 0);
return;
/* Update won't fit in current packet */
flushupdates();
}
debugf("Sending update to %s for %s.\n",
net->ifname, format_prefix(prefix, plen));
......
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