From f591c4a80853a8ede173d36fad0049f19ae79636 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 27 Feb 2012 15:40:06 -0800 Subject: uhd: fixed send pkt handler, vrt packet type was uninitialized This fixes a bug where the sc8 engine will not interpret the packet as an IF data packet due to uninitialized bits. In that case the sc8 packet would pass through and be interpreted by the downstream as an sc16 packet. --- host/lib/transport/super_send_packet_handler.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/transport') diff --git a/host/lib/transport/super_send_packet_handler.hpp b/host/lib/transport/super_send_packet_handler.hpp index 3d68507ed..46c98afea 100644 --- a/host/lib/transport/super_send_packet_handler.hpp +++ b/host/lib/transport/super_send_packet_handler.hpp @@ -132,6 +132,7 @@ public: ){ //translate the metadata to vrt if packet info vrt::if_packet_info_t if_packet_info; + if_packet_info.packet_type = vrt::if_packet_info_t::PACKET_TYPE_DATA; if_packet_info.has_sid = false; if_packet_info.has_cid = false; if_packet_info.has_tlr = true; -- cgit v1.2.3