From 933a7b93a679b994214c49540d891a901c7d5458 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Tue, 21 Mar 2017 15:26:04 +0100 Subject: ipcpd: normal: Split fmgr init into init and start This split the initialization of the flow manager into an init part and a start part. This avoids the usage of data structures that have not been properly initialized yet. --- src/ipcpd/normal/routing.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ipcpd/normal/routing.c') diff --git a/src/ipcpd/normal/routing.c b/src/ipcpd/normal/routing.c index 745d1812..0b82b70d 100644 --- a/src/ipcpd/normal/routing.c +++ b/src/ipcpd/normal/routing.c @@ -129,6 +129,8 @@ static int routing_neighbor_event(enum nb_event event, return -1; } + log_dbg("Added %s to RIB.", path); + break; case NEIGHBOR_REMOVED: if (rib_del(path)) { @@ -136,6 +138,8 @@ static int routing_neighbor_event(enum nb_event event, return -1; } + log_dbg("Removed %s from RIB.", path); + break; case NEIGHBOR_QOS_CHANGE: log_info("Not currently supported."); -- cgit v1.2.3