aboutsummaryrefslogtreecommitdiff
path: root/nDPId-test.c
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2021-05-19 15:07:11 +0200
committerToni Uhlig <matzeton@googlemail.com>2021-05-19 15:56:20 +0200
commitdb39772aa7b10ee6fb9e21db8f44c0f5fca7a1d2 (patch)
tree44997ae9b6efeae85286f7e0c04decf2f67f090a /nDPId-test.c
parent9ffaeef24d167bc1b99446bc07c7765c3375f776 (diff)
Fixed CMake global CFLAGS misuse which can cause xcompile errors.
nDPIsrvd-captured supports skipping flows w/o any layer 4 payload. * libndpi update * run_tests does not generate any *.out files for fuzz-*.pcap anymore and does not fail if nDPId-test exits with value 1 (most likely caused by a libpcap failure) Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'nDPId-test.c')
-rw-r--r--nDPId-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nDPId-test.c b/nDPId-test.c
index 42d353905..37d3e2343 100644
--- a/nDPId-test.c
+++ b/nDPId-test.c
@@ -371,7 +371,7 @@ int main(int argc, char ** argv)
{
if (THREADS_RETURNED_ERROR() != 0)
{
- return 1;
+ break;
}
}
@@ -379,7 +379,7 @@ int main(int argc, char ** argv)
{
if (THREADS_RETURNED_ERROR() != 0)
{
- return 1;
+ break;
}
}
@@ -387,7 +387,7 @@ int main(int argc, char ** argv)
{
if (THREADS_RETURNED_ERROR() != 0)
{
- return 1;
+ break;
}
}