Commit c2c6cef3 authored by Andreas Schmidt's avatar Andreas Schmidt
Browse files

Fix double forward

parent 2c8058a4
Loading
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -157,10 +157,6 @@ static void handle_data_packet(PrrtSocket *sock_ptr, PrrtPacket *packet) {
        PrrtChannelStateInformation_update_delivery_rate(sock_ptr->senderChannelStateInformation, payload->btlbw);
        prrtSequenceNumber_t baseSequenceNumber = packet->sequenceNumber - packet->index;

        // forward to application layer
        debug(DEBUG_DATARECEIVER, "Forward: %u", seqno);
        PrrtPacketDeliveryStore_insert(sock_ptr->packetDeliveryStore, packet);

        PrrtPacket *reference = PrrtPacket_copy(packet);
        
        // forward to application layer