diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-01-11 17:50:02 -0800 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-01-11 17:50:02 -0800 |
commit | 15ed7423ace400b6c40e5ff3988336dd7d3d2570 (patch) | |
tree | 7e48b20dc36ff006848b3364a340160ed05f32ff /service/SoftwareUpdater.cpp | |
parent | d7e7ad4f88ed8f5967568a9d5cec0716d1ae6265 (diff) | |
download | infinitytier-15ed7423ace400b6c40e5ff3988336dd7d3d2570.tar.gz infinitytier-15ed7423ace400b6c40e5ff3988336dd7d3d2570.zip |
.
Diffstat (limited to 'service/SoftwareUpdater.cpp')
-rw-r--r-- | service/SoftwareUpdater.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/service/SoftwareUpdater.cpp b/service/SoftwareUpdater.cpp index b87cfe72..dfdf4912 100644 --- a/service/SoftwareUpdater.cpp +++ b/service/SoftwareUpdater.cpp @@ -352,6 +352,7 @@ void SoftwareUpdater::handleSoftwareUpdateUserMessage(uint64_t origin,const void memcpy(_latestBinHashPrefix.data,hash.data(),16); _latestBinLength = len; _latestBinValid = false; + printf("<< LATEST\n%s\n",OSUtils::jsonDump(req).c_str()); } Buffer<128> gd; @@ -369,6 +370,7 @@ void SoftwareUpdater::handleSoftwareUpdateUserMessage(uint64_t origin,const void case VERB_GET_DATA: if ((len >= 21)&&(_dist.size() > 0)) { + printf("<< DATA from %.10llx\n",origin); std::map< Array<uint8_t,16>,_D >::iterator d(_dist.find(Array<uint8_t,16>(reinterpret_cast<const uint8_t *>(data) + 1))); if (d != _dist.end()) { unsigned long idx = (unsigned long)*(reinterpret_cast<const uint8_t *>(data) + 17) << 24; |