Skip to content

Commit

Permalink
Change order of libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
huitema committed Mar 1, 2024
1 parent f485c62 commit cd6b135
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ ADD_EXECUTABLE(ithitest

target_link_libraries(ithitest
PRIVATE
ithitools-core
ithitools-test
ithitools-core
)

target_include_directories(ithitest
Expand All @@ -188,10 +188,10 @@ ADD_LIBRARY(ithicap SHARED
)

SET_TARGET_PROPERTIES(ithicap PROPERTIES
VERSION 2.03
VERSION 2.04
PUBLIC_HEADER include/ithicap.h)

SET_TARGET_PROPERTIES(ithitools PROPERTIES VERSION 2.10)
SET_TARGET_PROPERTIES(ithitools PROPERTIES VERSION 2.04)

SET(TEST_EXES ithitest)

Expand Down
2 changes: 1 addition & 1 deletion lib/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define ITHITOOLS_VERSION_H

#define ITHITOOLS_VERSION_MAJOR 2
#define ITHITOOLS_VERSION_MINOR 3
#define ITHITOOLS_VERSION_MINOR 4
#define ITHITOOLS_VERSION ((ITHITOOLS_VERSION_MAJOR*100) + ITHITOOLS_VERSION_MINOR)

#endif /* ITHITOOLS_VERSION_H */
2 changes: 1 addition & 1 deletion lib/ipstats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ void IPStats::SubmitCborPacket(cdns* cdns_ctx, size_t packet_id)
cdns_query* query = &cdns_ctx->block.queries[packet_id];
cdns_query_signature* q_sig = NULL;

if ((size_t)query->client_address_index >= cdns_ctx->index_offset){
if (query->client_address_index >= cdns_ctx->index_offset){
size_t addrid = (size_t)query->client_address_index - cdns_ctx->index_offset;
if (!ipsr.SetIP(cdns_ctx->block.tables.addresses[addrid].l, cdns_ctx->block.tables.addresses[addrid].v)) {
/* malformed IP address. Cannot do anything with that record. */
Expand Down

0 comments on commit cd6b135

Please sign in to comment.