diff options
author | Sander Vrijders <[email protected]> | 2017-03-25 18:48:30 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-03-28 10:24:54 +0200 |
commit | c0bfc1752df3530570a24c930220b94a4e3afabb (patch) | |
tree | 43abd2084831d5a36c88a8ad93b3dec3e48127cd /src/ipcpd/normal/routing.c | |
parent | d3393da62009e49b5724f8ff3d901c244ab8d557 (diff) | |
download | ouroboros-c0bfc1752df3530570a24c930220b94a4e3afabb.tar.gz ouroboros-c0bfc1752df3530570a24c930220b94a4e3afabb.zip |
lib, ipcpd: Fix bugs in ro sets
This fixes several bugs in the ro sets, rib. And it fixes several bugs
in the graph and routing component of the normal IPCP.
Diffstat (limited to 'src/ipcpd/normal/routing.c')
-rw-r--r-- | src/ipcpd/normal/routing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/normal/routing.c b/src/ipcpd/normal/routing.c index b750ca84..998b294a 100644 --- a/src/ipcpd/normal/routing.c +++ b/src/ipcpd/normal/routing.c @@ -291,12 +291,12 @@ static void * rib_listener(void * o) } } - while (rib_event_wait(routing.set, routing.queue, NULL)) { + while (rib_event_wait(routing.set, routing.queue, NULL) == 0) { flag = rqueue_next(routing.queue, path); if (flag < 0) continue; - if (read_fso(children[i], flag)) { + if (read_fso(path, flag)) { log_err("Failed to parse FSO."); continue; } |