neighbor/Glue: use struct ConfigData

This commit is contained in:
Max Kellermann
2018-07-17 23:11:33 +02:00
parent 3a4a430f6c
commit 4f678aa244
4 changed files with 10 additions and 6 deletions

View File

@@ -515,7 +515,8 @@ try {
#ifdef ENABLE_NEIGHBOR_PLUGINS
instance->neighbors = new NeighborGlue();
instance->neighbors->Init(instance->io_thread.GetEventLoop(),
instance->neighbors->Init(raw_config,
instance->io_thread.GetEventLoop(),
*instance);
if (instance->neighbors->IsEmpty()) {