From 0b84c10ccc8db26151b25f38869bb462656495d2 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 9 Jan 2015 16:35:20 -0500 Subject: 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. --- node/Network.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node/Network.cpp') 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) { -- cgit v1.2.3