mirror of
https://github.com/nostar/urfd.git
synced 2026-11-08 04:19:39 +00:00
fixed user_type check
This commit is contained in:
1 parent
0090135843
commit
07e57dffb1
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user