diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2017-03-21 15:26:04 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-03-21 15:30:33 +0100 |
commit | 933a7b93a679b994214c49540d891a901c7d5458 (patch) | |
tree | 23ebcbec3857b3322a9b6cb6f36463ae4157ee15 /src/ipcpd/normal/neighbors.c | |
parent | 3bb7ed41f8c96a15f16281f3c9f282e6690aed38 (diff) | |
download | ouroboros-933a7b93a679b994214c49540d891a901c7d5458.tar.gz ouroboros-933a7b93a679b994214c49540d891a901c7d5458.zip |
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.
Diffstat (limited to 'src/ipcpd/normal/neighbors.c')
-rw-r--r-- | src/ipcpd/normal/neighbors.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |