From 40fb69243af088ed66ddb4dcb4d19a9e371bf897 Mon Sep 17 00:00:00 2001 From: Samuel O'Brien Date: Thu, 16 Jul 2020 10:17:12 -0500 Subject: 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 --- tools/dissectors/epan/rfnoc/CMakeLists.txt | 2 +- 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 #include "../../../../host/lib/usrp/x300/x300_fw_common.h" -#include +#include 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); -- cgit v1.2.3