mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-15 05:38:18 +00:00
Forgot one other use in RethinkDb driver.
This commit is contained in:
@ -97,10 +97,11 @@ RethinkDB::RethinkDB(EmbeddedNetworkController *const nc,const Identity &myId,co
|
|||||||
try {
|
try {
|
||||||
json &ov = tmp["old_val"];
|
json &ov = tmp["old_val"];
|
||||||
json &nv = tmp["new_val"];
|
json &nv = tmp["new_val"];
|
||||||
if (ov.is_object()||nv.is_object()) {
|
json oldConfig,newConfig;
|
||||||
//if (nv.is_object()) printf("MEMBER: %s" ZT_EOL_S,nv.dump().c_str());
|
if (ov.is_object()) oldConfig = ov["config"];
|
||||||
this->_memberChanged(ov,nv,(this->_ready <= 0));
|
if (nv.is_object()) newConfig = nv["config"];
|
||||||
}
|
if (oldConfig.is_object()||newConfig.is_object())
|
||||||
|
this->_memberChanged(oldConfig,newConfig,(this->_ready <= 0));
|
||||||
} catch ( ... ) {} // ignore bad records
|
} catch ( ... ) {} // ignore bad records
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user