test/run_neighbor_explorer: dump NeighborGlue::GetList() after initialization
This commit is contained in:
parent
58590b71d1
commit
acd61a0e8e
@ -80,6 +80,12 @@ try {
|
|||||||
neighbor.Init(loop, listener);
|
neighbor.Init(loop, listener);
|
||||||
neighbor.Open();
|
neighbor.Open();
|
||||||
|
|
||||||
|
/* dump initial list */
|
||||||
|
|
||||||
|
for (const auto &info : neighbor.GetList())
|
||||||
|
printf("have '%s' (%s)\n",
|
||||||
|
info.display_name.c_str(), info.uri.c_str());
|
||||||
|
|
||||||
/* run */
|
/* run */
|
||||||
|
|
||||||
loop.Run();
|
loop.Run();
|
||||||
|
Loading…
Reference in New Issue
Block a user