diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-25 13:43:04 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-25 13:43:04 -0400 |
| commit | 010616e3ae2edcf294b0d4b8f0679fd94c6a1f2a (patch) | |
| tree | 1134fbef2920a59993327ab7d8bc9a9abad122f1 /node/PacketDecoder.cpp | |
| parent | 1505e8dd504711f38e5d975022c3c5366e87791a (diff) | |
| download | infinitytier-010616e3ae2edcf294b0d4b8f0679fd94c6a1f2a.tar.gz infinitytier-010616e3ae2edcf294b0d4b8f0679fd94c6a1f2a.zip | |
Add some more TRACE output for certs.
Diffstat (limited to 'node/PacketDecoder.cpp')
| -rw-r--r-- | node/PacketDecoder.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/node/PacketDecoder.cpp b/node/PacketDecoder.cpp index 9f348bed..43ac8c29 100644 --- a/node/PacketDecoder.cpp +++ b/node/PacketDecoder.cpp @@ -847,8 +847,10 @@ bool PacketDecoder::_doNETWORK_CONFIG_REFRESH(const RuntimeEnvironment *_r,const while ((ptr + sizeof(uint64_t)) <= size()) { uint64_t nwid = at<uint64_t>(ptr); ptr += sizeof(uint64_t); SharedPtr<Network> nw(_r->nc->network(nwid)); - if ((nw)&&(source() == nw->controller())) // only respond to requests from controller + if ((nw)&&(source() == nw->controller())) { // only respond to requests from controller + TRACE("NETWORK_CONFIG_REFRESH from %s, refreshing network %.16llx",source().toString().c_str(),nwid); nw->requestConfiguration(); + } } } catch (std::exception &exc) { TRACE("dropped NETWORK_CONFIG_REFRESH from %s(%s): unexpected exception: %s",source().toString().c_str(),_remoteAddress.toString().c_str(),exc.what()); |
