From: Steinar H. Gunderson Date: Sun, 8 Feb 2015 23:25:05 +0000 (+0100) Subject: Fix super-stupid bug in Reorderer that only affected greproxy (not tungre). X-Git-Url: https://git.sesse.net/?p=greproxy;a=commitdiff_plain;h=8382a720affa71d054eba6761473e7b9fcfb725a Fix super-stupid bug in Reorderer that only affected greproxy (not tungre). --- diff --git a/reorderer.cpp b/reorderer.cpp index 2533aad..e4cafe1 100644 --- a/reorderer.cpp +++ b/reorderer.cpp @@ -80,7 +80,7 @@ void Reorderer::send_packet(uint16_t proto, const string& data, int seq) //} const string &data = packet_buffer.top().data; check_ts_discontinuity(packet_buffer.top().proto, data, silence); - sender->send_packet(proto, data, seq); + sender->send_packet(packet_buffer.top().proto, data, packet_buffer.top().seq); packet_buffer.pop(); last_seq = front_seq; last_sent_packet = now;