Commit c9911909 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't limit xroute updates to 1000 bytes.

parent e89a181d
...@@ -435,7 +435,7 @@ flushupdates(void) ...@@ -435,7 +435,7 @@ flushupdates(void)
if(myxroutes[j].installed) if(myxroutes[j].installed)
numpxroutes++; numpxroutes++;
} }
start_message(net, MIN(20 + 20 * numpxroutes, 1000)); start_message(net, 20 + 20 * numpxroutes);
for(j = 0; j < nummyxroutes; j++) { for(j = 0; j < nummyxroutes; j++) {
if(!myxroutes[j].installed) if(!myxroutes[j].installed)
continue; continue;
...@@ -482,7 +482,7 @@ flushupdates(void) ...@@ -482,7 +482,7 @@ flushupdates(void)
if(xroutes[j].gateway == buffered_updates[i]) if(xroutes[j].gateway == buffered_updates[i])
numpxroutes++; numpxroutes++;
} }
start_message(net, MIN(20 + 20 * numpxroutes, 1000)); start_message(net, 20 + 20 * numpxroutes);
for(j = 0; j < numxroutes; j++) { for(j = 0; j < numxroutes; j++) {
if(xroutes[j].gateway != buffered_updates[i]) if(xroutes[j].gateway != buffered_updates[i])
continue; continue;
......
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