mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 12:06:55 +02:00
Add new fields in operator==
This commit is contained in:
parent
edbc5d3588
commit
8aa68cd5f1
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue