Skip to content

Commit

Permalink
Solved some TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianReimold committed Feb 23, 2024
1 parent 5e72a8a commit bc8391b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
8 changes: 5 additions & 3 deletions udpcap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ generate_export_header(${PROJECT_NAME}
add_library (udpcap::${PROJECT_NAME} ALIAS ${PROJECT_NAME})

target_link_libraries(${PROJECT_NAME}
PRIVATE #TODO: This used to be private
PRIVATE
npcap::npcap
pcapplusplus::pcapplusplus
$<$<BOOL:${WIN32}>:ws2_32>
Expand Down Expand Up @@ -129,8 +129,10 @@ endif()

##################################

include(sourcetree.cmake)
create_source_tree(${includes} ${sources})
source_group(TREE "${CMAKE_CURRENT_SOURCE_DIR}" FILES
${includes}
${sources}
)

################################################################################
### Installation rules
Expand Down
12 changes: 0 additions & 12 deletions udpcap/sourcetree.cmake

This file was deleted.

1 change: 0 additions & 1 deletion udpcap/src/ip_reassembly.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ namespace Udpcap
* - If the reassembled packet isn't ready then NULL is returned
*/
pcpp::Packet* processPacket(pcpp::RawPacket* fragment, pcpp::IPReassembly::ReassemblyStatus& status, pcpp::ProtocolType parse_until = pcpp::UnknownProtocol, pcpp::OsiModelLayer parse_until_layer = pcpp::OsiModelLayerUnknown);
// TODO: Implement rawPacket function

/**
* Get the maximum capacity as determined in the c'tor
Expand Down

0 comments on commit bc8391b

Please sign in to comment.