summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-06-13 13:13:19 +0200
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-06-13 13:13:19 +0200
commit8aa68cd5f135f013a5f58e6bcf95f652d3ec625e (patch)
treefa7aefa06e06a3706c39b1379e81f0434b8b4b9b
parentedbc5d3588eda9e596853024a42b304c77d5caff (diff)
downloadinfinitytier-8aa68cd5f135f013a5f58e6bcf95f652d3ec625e.tar.gz
infinitytier-8aa68cd5f135f013a5f58e6bcf95f652d3ec625e.zip
Add new fields in operator==
-rw-r--r--node/NetworkConfig.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/node/NetworkConfig.cpp b/node/NetworkConfig.cpp
index ecc4e880..5ed1dd3f 100644
--- a/node/NetworkConfig.cpp
+++ b/node/NetworkConfig.cpp
@@ -218,7 +218,9 @@ bool NetworkConfig::operator==(const NetworkConfig &nc) const
if (_name != nc._name) return false;
if (_description != nc._description) return false;
if (_staticIps != nc._staticIps) return false;
+ if (_gateways != nc._gateways) return false;
if (_activeBridges != nc._activeBridges) return false;
+ if (_relays != nc._relays) return false;
if (_multicastRates.size() == nc._multicastRates.size()) {
// uclibc++ doesn't seem to implement map<> != map<> correctly, so do
// it ourselves. Note that this depends on the maps being sorted.