summaryrefslogtreecommitdiff
path: root/node/Network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Network.cpp')
-rw-r--r--node/Network.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/node/Network.cpp b/node/Network.cpp
index 8e9aecbd..c1c3414d 100644
--- a/node/Network.cpp
+++ b/node/Network.cpp
@@ -207,6 +207,9 @@ int Network::setConfiguration(const void *confBytes,unsigned int confLen,bool sa
#endif
}
+ if (!newConfig)
+ return 0;
+
{
Mutex::Lock _l(_lock);
if (_config == newConfig)