summaryrefslogtreecommitdiff
path: root/src/tools/cbr/cbr_client.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-05-26 15:11:56 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-05-26 15:11:56 +0200
commit4ede581f562e1f4b2f924559ce582cec5389e056 (patch)
tree2fa38dcbe15ba78b3327b10589a12df5c04a5403 /src/tools/cbr/cbr_client.c
parent22fe93c00ce5a2b3a64b64f38dc749c83ed42206 (diff)
parentc1dd73319e5bc80a158cb1c4cffae3c9a7b13a87 (diff)
downloadouroboros-4ede581f562e1f4b2f924559ce582cec5389e056.tar.gz
ouroboros-4ede581f562e1f4b2f924559ce582cec5389e056.zip
Merged in sandervrijders/ouroboros/be-cbr (pull request #112)
Be cbr
Diffstat (limited to 'src/tools/cbr/cbr_client.c')
-rw-r--r--src/tools/cbr/cbr_client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/cbr/cbr_client.c b/src/tools/cbr/cbr_client.c
index 78b95255..ff7d4057 100644
--- a/src/tools/cbr/cbr_client.c
+++ b/src/tools/cbr/cbr_client.c
@@ -67,6 +67,7 @@ int client_main(int duration, int size, long rate)
if (flow_write(fd, buf, size) == -1) {
printf("Failed to write SDU.\n");
+ stop = true;
continue;
}