From 347e98dcd2d29772d5b9cf23c307b0a6ce0d8858 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 14 Apr 2015 15:32:05 -0700 Subject: Just return files from listDirectory() since that is all we need, fix network request on network restore logic, and remember saved networks in service/One --- node/Network.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'node') diff --git a/node/Network.cpp b/node/Network.cpp index 2a071f6f..0575f48c 100644 --- a/node/Network.cpp +++ b/node/Network.cpp @@ -67,6 +67,7 @@ Network::Network(const RuntimeEnvironment *renv,uint64_t nwid) : std::string conf(RR->node->dataStoreGet(confn)); if (conf.length()) { setConfiguration(Dictionary(conf),false); + _lastConfigUpdate = 0; // we still want to re-request a new config from the network gotConf = true; } } catch ( ... ) {} // ignore invalids, we'll re-request -- cgit v1.2.3