diff options
author | Josh Blum <josh@joshknows.com> | 2012-02-27 15:40:06 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-02-27 15:40:06 -0800 |
commit | f591c4a80853a8ede173d36fad0049f19ae79636 (patch) | |
tree | f9abed87016d9fb69be73a07aa0493648b43c26d | |
parent | 12260e71f4df4f872a1f5086fd50b8f7ac1408d2 (diff) | |
download | uhd-f591c4a80853a8ede173d36fad0049f19ae79636.tar.gz uhd-f591c4a80853a8ede173d36fad0049f19ae79636.tar.bz2 uhd-f591c4a80853a8ede173d36fad0049f19ae79636.zip |
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.
-rw-r--r-- | host/lib/transport/super_send_packet_handler.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |