Commit 13df0093 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

In flushupdates, call satisfy_request earlier.

parent b00ac4a4
...@@ -499,6 +499,7 @@ flushupdates(void) ...@@ -499,6 +499,7 @@ flushupdates(void)
} }
update_destination(buffered_updates[i], seqno, metric); update_destination(buffered_updates[i], seqno, metric);
satisfy_request(buffered_updates[i], seqno, net);
/* Don't send xroutes if the metric is infinite as the seqno /* Don't send xroutes if the metric is infinite as the seqno
might be originated by us. */ might be originated by us. */
...@@ -535,7 +536,6 @@ flushupdates(void) ...@@ -535,7 +536,6 @@ flushupdates(void)
accumulate_byte(net, seqno); accumulate_byte(net, seqno);
accumulate_short(net, metric); accumulate_short(net, metric);
accumulate_data(net, buffered_updates[i]->address, 16); accumulate_data(net, buffered_updates[i]->address, 16);
satisfy_request(buffered_updates[i], seqno, net);
} }
} }
schedule_flush_now(net); schedule_flush_now(net);
......
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