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/neighbors.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ipcpd/normal/neighbors.c') diff --git a/src/ipcpd/normal/neighbors.c b/src/ipcpd/normal/neighbors.c index 1c399145..66da0462 100644 --- a/src/ipcpd/normal/neighbors.c +++ b/src/ipcpd/normal/neighbors.c @@ -114,8 +114,8 @@ int nbs_add(struct nbs * nbs, pthread_mutex_unlock(&nbs->list_lock); - log_info("Added neighbor with address %" PRIu64 " to list.", - conn.conn_info.addr); + log_info("Added neighbor with fd %d and address %" PRIu64 " to list.", + conn.flow_info.fd, conn.conn_info.addr); return 0; } -- cgit v1.2.3