Report server versions when crawling the overlay network

This commit is contained in:
Nik Bougalis
2015-02-23 15:36:18 -08:00
committed by Tom Ritchford
parent a8db5650a5
commit bc48d299b6
3 changed files with 16 additions and 0 deletions

View File

@@ -632,6 +632,9 @@ OverlayImpl::crawl()
else
pv[jss::ip] = sp->getRemoteAddress().to_string();
}
auto version = sp->getVersion ();
if (!version.empty ())
pv["version"] = version;
}
}
return jv;