diff options
author | Samuel O'Brien <sam.obrien@ni.com> | 2020-07-16 10:17:12 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-07-16 12:20:40 -0500 |
commit | 40fb69243af088ed66ddb4dcb4d19a9e371bf897 (patch) | |
tree | 2b65189e058dc8dfbdfed7efb154ceb2d43ac9b8 | |
parent | b3c74a712a08c54e48713427bf46ea498b8e899b (diff) | |
download | uhd-40fb69243af088ed66ddb4dcb4d19a9e371bf897.tar.gz uhd-40fb69243af088ed66ddb4dcb4d19a9e371bf897.tar.bz2 uhd-40fb69243af088ed66ddb4dcb4d19a9e371bf897.zip |
dissector: Swap chdr_packet for chdr_packet_writer
A recent commit changed the name of chdr_packet in uhd. This commit
accounts for this change and makes the dissector compile again.
Signed-off-by: Samuel O'Brien <sam.obrien@ni.com>
-rw-r--r-- | tools/dissectors/epan/rfnoc/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tools/dissectors/epan/rfnoc/packet-rfnoc.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/dissectors/epan/rfnoc/CMakeLists.txt b/tools/dissectors/epan/rfnoc/CMakeLists.txt index c2f73950f..3fb266f3a 100644 --- a/tools/dissectors/epan/rfnoc/CMakeLists.txt +++ b/tools/dissectors/epan/rfnoc/CMakeLists.txt @@ -4,7 +4,7 @@ set(DISSECTOR_SRC ${CMAKE_CURRENT_SOURCE_DIR}/packet-rfnoc.cpp ${CMAKE_CURRENT_SOURCE_DIR}/../../../../host/lib/exception.cpp ${CMAKE_CURRENT_SOURCE_DIR}/../../../../host/lib/rfnoc/chdr_types.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/../../../../host/lib/rfnoc/chdr_packet.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/../../../../host/lib/rfnoc/chdr_packet_writer.cpp ) set(PLUGIN_FILES diff --git a/tools/dissectors/epan/rfnoc/packet-rfnoc.cpp b/tools/dissectors/epan/rfnoc/packet-rfnoc.cpp index ca3154e02..a5076c63d 100644 --- a/tools/dissectors/epan/rfnoc/packet-rfnoc.cpp +++ b/tools/dissectors/epan/rfnoc/packet-rfnoc.cpp @@ -25,7 +25,7 @@ extern "C" { #include <iostream> #include "../../../../host/lib/usrp/x300/x300_fw_common.h" -#include <uhdlib/rfnoc/chdr_packet.hpp> +#include <uhdlib/rfnoc/chdr_packet_writer.hpp> constexpr unsigned int RFNOC_PORT = X300_VITA_UDP_PORT; static const uhd::rfnoc::chdr::chdr_packet_factory pkt_factory(uhd::rfnoc::CHDR_W_64, uhd::ENDIANNESS_LITTLE); |