test/run_neighbor_explorer: dump NeighborGlue::GetList() after initialization

This commit is contained in:
Max Kellermann 2018-05-31 13:05:59 +02:00
parent 58590b71d1
commit acd61a0e8e

View File

@ -80,6 +80,12 @@ try {
neighbor.Init(loop, listener);
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 */
loop.Run();