diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-15 18:32:25 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-15 18:32:25 -0700 |
| commit | ea1859541c29bc3cafcde5ad9be131c942522c5f (patch) | |
| tree | cc6aaa37552466d78a957f63bb22f71e07dbc3dd /node/IncomingPacket.cpp | |
| parent | f7b1437154576ec42734de6c2b2ee4adfb1f4f6d (diff) | |
| download | infinitytier-ea1859541c29bc3cafcde5ad9be131c942522c5f.tar.gz infinitytier-ea1859541c29bc3cafcde5ad9be131c942522c5f.zip | |
More cleanup, and fix for the extremely unlikely case of identity collision.
Diffstat (limited to 'node/IncomingPacket.cpp')
| -rw-r--r-- | node/IncomingPacket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/IncomingPacket.cpp b/node/IncomingPacket.cpp index 967f50f2..efb506fe 100644 --- a/node/IncomingPacket.cpp +++ b/node/IncomingPacket.cpp @@ -674,7 +674,7 @@ bool IncomingPacket::_doNETWORK_CONFIG_REQUEST(const RuntimeEnvironment *RR,cons if (RR->localNetworkController) { Dictionary netconf; - switch(RR->localNetworkController->doNetworkConfigRequest((h > 0) ? InetAddress() : _remoteAddress,peer->identity(),nwid,metaData,haveRevision,netconf)) { + switch(RR->localNetworkController->doNetworkConfigRequest((h > 0) ? InetAddress() : _remoteAddress,RR->identity,peer->identity(),nwid,metaData,haveRevision,netconf)) { case NetworkController::NETCONF_QUERY_OK: { const std::string netconfStr(netconf.toString()); if (netconfStr.length() > 0xffff) { // sanity check since field ix 16-bit |
