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.
This commit is contained in:
parent
afea153a0b
commit
0b84c10ccc
5 changed files with 75 additions and 9 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue