summaryrefslogtreecommitdiff
path: root/node/Network.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-01-09 16:35:20 -0500
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-01-09 16:35:20 -0500
commit0b84c10ccc8db26151b25f38869bb462656495d2 (patch)
tree2ec398814bce8a65f07778ca0bc4d10361d69fc8 /node/Network.cpp
parentafea153a0b0dc8223d4541f16bf8c9e4dfd49e99 (diff)
downloadinfinitytier-0b84c10ccc8db26151b25f38869bb462656495d2.tar.gz
infinitytier-0b84c10ccc8db26151b25f38869bb462656495d2.zip
Add confirmation step to new netconf, with the caveat that it will be disabled for older netconf servers to avoid race. Also add some comments.
Diffstat (limited to 'node/Network.cpp')
-rw-r--r--node/Network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Network.cpp b/node/Network.cpp
index df741026..aac8d5d6 100644
--- a/node/Network.cpp
+++ b/node/Network.cpp
@@ -274,7 +274,7 @@ int Network::setConfiguration(const Dictionary &conf,bool saveToDisk)
{
Mutex::Lock _l(_lock);
if ((_config)&&(*_config == *newConfig))
- return 1; // OK but duplicate
+ return 1; // OK config, but duplicate of what we already have
}
if (applyConfiguration(newConfig)) {
if (saveToDisk) {