summaryrefslogtreecommitdiff
path: root/nDPId-test.c
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2022-09-14 12:53:55 +0200
committerToni Uhlig <matzeton@googlemail.com>2022-09-17 10:31:26 +0200
commitb3e9af495c79f6c8c68c0eb36df67dfa5ede4e16 (patch)
tree487a5f325636bc1e0df29b2de8b9cdd01e590704 /nDPId-test.c
parentb8cfe1d6d3c4f52d3bbaf3e4beb80903f9310830 (diff)
Add OpenWrt CI via Github Actions.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'nDPId-test.c')
-rw-r--r--nDPId-test.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/nDPId-test.c b/nDPId-test.c
index 93d3080ea..dd5b5091d 100644
--- a/nDPId-test.c
+++ b/nDPId-test.c
@@ -657,9 +657,9 @@ static void * distributor_client_mainloop_thread(void * const arg)
break;
case READ_LAST_ENUM_VALUE:
case READ_ERROR:
+ case READ_TIMEOUT:
logger(1, "Read and verify fd returned an error: %s", strerror(errno));
THREAD_ERROR_GOTO(trv);
- case READ_TIMEOUT:
case READ_PEER_DISCONNECT:
del_event(dis_epollfd, mock_testfds[PIPE_TEST_READ]);
pipe_read_finished = 1;
@@ -762,9 +762,8 @@ static void * distributor_client_mainloop_thread(void * const arg)
{
HASH_ITER(hh, current_instance->flow_table, current_flow, ftmp)
{
- logger(1, "Active flow found during client distributor shutdown: %llu", current_flow->id_as_ull);
+ logger(1, "Active flow found during client distributor shutdown with id: %llu", current_flow->id_as_ull);
THREAD_ERROR(trv);
- break;
}
nDPIsrvd_cleanup_instance(mock_sock, current_instance, CLEANUP_REASON_APP_SHUTDOWN);