summaryrefslogtreecommitdiff
path: root/src/tools/oping/oping_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/oping/oping_server.c')
-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;