summaryrefslogtreecommitdiff
path: root/src/tools/echo
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/echo')
-rw-r--r--src/tools/echo/echo_server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/echo/echo_server.c b/src/tools/echo/echo_server.c
index 070f0ce3..09575364 100644
--- a/src/tools/echo/echo_server.c
+++ b/src/tools/echo/echo_server.c
@@ -40,6 +40,7 @@ int server_main(void)
int client_fd = 0;
char buf[BUF_SIZE];
ssize_t count = 0;
+ struct qos_spec qs;
printf("Starting the server.\n");
@@ -50,7 +51,7 @@ int server_main(void)
}
while (true) {
- client_fd = flow_accept(NULL);
+ client_fd = flow_accept(NULL, &qs);
if (client_fd < 0) {
printf("Failed to accept flow.\n");
break;