From 11c6be30491ebe4e41380f48a271c57bcff4b043 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Wed, 10 Aug 2016 17:50:45 +0200 Subject: lib, irmd: Bind AP instances to AP_subsets This call will allow grouping AP instances of a certain AP together which are configured identically. Adds the bind operation to dev and updates the applications to make use of this call. Flow_alloc is now only called with the pid and doesn't send the apn anymore. --- src/tools/echo/echo_server.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/tools/echo/echo_server.c') diff --git a/src/tools/echo/echo_server.c b/src/tools/echo/echo_server.c index e6ab9cfd..3106ee35 100644 --- a/src/tools/echo/echo_server.c +++ b/src/tools/echo/echo_server.c @@ -39,6 +39,11 @@ int server_main() char buf[BUF_SIZE]; ssize_t count = 0; + if (api_bind(NULL) < 0) { + printf("Failed to bind the server api."); + return -1; + } + printf("Starting the server.\n"); /* Manual cleanup is required for now */ -- cgit v1.2.3