From f1cd9f37af3c864bbadcc06b6525e3f4f63b168f Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Tue, 18 Jul 2017 14:04:42 +0200 Subject: irmd: Fix order of IPCPs This fixes the order of the IPCPs in the IRMd, so that the right type is queried first on flow allocation. --- src/irmd/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/irmd/main.c b/src/irmd/main.c index 63ae6b13..b72893ba 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -315,7 +315,7 @@ static pid_t create_ipcp(char * name, break; } - list_add_tail(&tmp->next, &irmd.ipcps); + list_add_tail(&tmp->next, p); list_add(&api->next, &irmd.spawned_apis); -- cgit v1.2.3