diff options
author | Sander Vrijders <[email protected]> | 2017-03-25 18:48:30 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-03-25 18:48:30 +0100 |
commit | 572013b92d82e78ef5e5b19d79316ae3131c71af (patch) | |
tree | 43abd2084831d5a36c88a8ad93b3dec3e48127cd /src/ipcpd/normal/routing.c | |
parent | 6ccf4835a980122c5f411331600b57093035d18e (diff) | |
download | ouroboros-572013b92d82e78ef5e5b19d79316ae3131c71af.tar.gz ouroboros-572013b92d82e78ef5e5b19d79316ae3131c71af.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; } |