summaryrefslogtreecommitdiff
path: root/src/tools/oping
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/oping')
-rw-r--r--src/tools/oping/oping_client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/oping/oping_client.c b/src/tools/oping/oping_client.c
index d0255b7c..35f49aa2 100644
--- a/src/tools/oping/oping_client.c
+++ b/src/tools/oping/oping_client.c
@@ -179,6 +179,7 @@ void * writer(void * o)
printf("Failed to send packet.\n");
flow_dealloc(*fdp);
free(buf);
+ stop = true;
return (void *) -1;
}
}