fixed user_type check

pull/2/head
Tom Early 3 years ago
parent 0090135843
commit 07e57dffb1

@ -696,7 +696,7 @@ void CReflector::GetDHTConfig(const std::string &cs)
node.get(
dht::InfoHash::get(cs),
[](const std::shared_ptr<dht::Value> &v) {
if (0 == v->user_type.compare("mrefd-config-1"))
if (0 == v->user_type.compare("urfd-config-1"))
{
auto rdat = dht::Value::unpack<SUrfdConfig1>(*v);
if (rdat.timestamp > cfg.timestamp)

Loading…
Cancel
Save

Powered by TurnKey Linux.