summaryrefslogtreecommitdiff
path: root/src/tools/oping
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-10-25 12:57:15 +0200
committerdimitri staessens <[email protected]>2016-10-25 12:57:15 +0200
commitcce79395b5a9f75d3fe1b14bf5df44795d680ca4 (patch)
treeec6df2d106018595f6f9abc6b09c9606c4715a5c /src/tools/oping
parentf33f8f79ee6fd6efe6c868be61ab3addf2ec2730 (diff)
downloadouroboros-cce79395b5a9f75d3fe1b14bf5df44795d680ca4.tar.gz
ouroboros-cce79395b5a9f75d3fe1b14bf5df44795d680ca4.zip
lib: API for accepting flows with QoS
Diffstat (limited to 'src/tools/oping')
-rw-r--r--src/tools/oping/oping_server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/oping/oping_server.c b/src/tools/oping/oping_server.c
index 720e71b6..8d7ab1db 100644
--- a/src/tools/oping/oping_server.c
+++ b/src/tools/oping/oping_server.c
@@ -115,13 +115,14 @@ void * accept_thread(void * o)
{
int fd = 0;
struct timespec now = {0, 0};
+ struct qos_spec qs;
(void) o;
printf("Ouroboros ping server started.\n");
while (true) {
- fd = flow_accept(NULL);
+ fd = flow_accept(NULL, &qs);
if (fd < 0) {
printf("Failed to accept flow.\n");
break;