Add a bit of useful testing instrumentation to SqliteNetworkController.

This commit is contained in:
Adam Ierymenko 2015-09-08 11:35:55 -07:00
parent 85b90f122a
commit 0d386f1c31
5 changed files with 43 additions and 9 deletions

View file

@ -240,7 +240,7 @@ void Network::requestConfiguration()
if (RR->localNetworkController) {
SharedPtr<NetworkConfig> nconf(config2());
Dictionary newconf;
switch(RR->localNetworkController->doNetworkConfigRequest(InetAddress(),RR->identity,RR->identity,_id,Dictionary(),(nconf) ? nconf->revision() : (uint64_t)0,newconf)) {
switch(RR->localNetworkController->doNetworkConfigRequest(InetAddress(),RR->identity,RR->identity,_id,Dictionary(),newconf)) {
case NetworkController::NETCONF_QUERY_OK:
this->setConfiguration(newconf,true);
return;