mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 01:07:57 +00:00
Report server versions when crawling the overlay network
This commit is contained in:
committed by
Tom Ritchford
parent
a8db5650a5
commit
bc48d299b6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user