summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-07-18 14:04:42 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-07-18 14:04:42 +0200
commitf1cd9f37af3c864bbadcc06b6525e3f4f63b168f (patch)
treeb392b17a4a097b6e02996c20914be3591f14a44f
parentaff9a39ade6ec39be0b0de7c360a66ed4c6a1e1b (diff)
downloadouroboros-f1cd9f37af3c864bbadcc06b6525e3f4f63b168f.tar.gz
ouroboros-f1cd9f37af3c864bbadcc06b6525e3f4f63b168f.zip
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.
-rw-r--r--src/irmd/main.c2
1 files changed, 1 insertions, 1 deletions
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);