From cce79395b5a9f75d3fe1b14bf5df44795d680ca4 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Tue, 25 Oct 2016 12:57:15 +0200 Subject: lib: API for accepting flows with QoS --- src/tools/cbr/cbr_server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tools/cbr') diff --git a/src/tools/cbr/cbr_server.c b/src/tools/cbr/cbr_server.c index f1c342d1..eb45a2c6 100644 --- a/src/tools/cbr/cbr_server.c +++ b/src/tools/cbr/cbr_server.c @@ -155,6 +155,7 @@ void * listener(void * o) { int client_fd = 0; int response = 0; + struct qos_spec qs; (void) o; @@ -162,7 +163,7 @@ void * listener(void * o) server_settings.interval, server_settings.timeout); while (true) { - client_fd = flow_accept(NULL); + client_fd = flow_accept(NULL, &qs); if (client_fd < 0) { printf("Failed to accept flow.\n"); break; -- cgit v1.2.3