summaryrefslogtreecommitdiff
path: root/src/tools/oping/oping_client.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-06-05 18:39:11 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2018-06-05 19:53:41 +0200
commitee9bfbed3726140d5601521de7ce8d003c453fb5 (patch)
tree615888154f56b315d742544725b50ad9736a290a /src/tools/oping/oping_client.c
parent85e8b0a4476fc0aff1b9192c36e807cb68f5320e (diff)
downloadouroboros-ee9bfbed3726140d5601521de7ce8d003c453fb5.tar.gz
ouroboros-ee9bfbed3726140d5601521de7ce8d003c453fb5.zip
tools: Support qosspecs in oping
The oping tool can now select a qos spec to use. Allowed specs are predefined an chosen using "raw", "best", "video" or "voice". Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/tools/oping/oping_client.c')
-rw-r--r--src/tools/oping/oping_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/oping/oping_client.c b/src/tools/oping/oping_client.c
index 1d64e01e..e777d4cc 100644
--- a/src/tools/oping/oping_client.c
+++ b/src/tools/oping/oping_client.c
@@ -229,7 +229,7 @@ static int client_main(void)
return -1;
}
- fd = flow_alloc(client.s_apn, NULL, NULL);
+ fd = flow_alloc(client.s_apn, &client.qs, NULL);
if (fd < 0) {
printf("Failed to allocate flow.\n");
client_fini();