From 37931d8589359580c05baef64b6752315dccbe66 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 4 Sep 2013 09:27:56 -0400 Subject: Multicast bandwidth accounting work in progress, and some config field changes and cleanup. --- node/PacketDecoder.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'node/PacketDecoder.cpp') diff --git a/node/PacketDecoder.cpp b/node/PacketDecoder.cpp index 18d8c4e2..9d8f0cd8 100644 --- a/node/PacketDecoder.cpp +++ b/node/PacketDecoder.cpp @@ -319,10 +319,8 @@ bool PacketDecoder::_doOK(const RuntimeEnvironment *_r,const SharedPtr &pe std::string dict((const char *)field(ZT_PROTO_VERB_NETWORK_CONFIG_REQUEST__OK__IDX_DICT,dictlen),dictlen); if (dict.length()) { Network::Config netconf(dict); - if ((netconf.networkId() == nw->id())&&(netconf.peerAddress() == _r->identity.address())) { // sanity check - LOG("got network configuration for network %.16llx from %s",(unsigned long long)nw->id(),source().toString().c_str()); - nw->setConfiguration(netconf); - } + LOG("got network configuration for network %.16llx from %s",(unsigned long long)nw->id(),source().toString().c_str()); + nw->setConfiguration(netconf); } } } break; -- cgit v1.2.3