From 9a43f0d54cb854a2a4b85a3521dba759496028a9 Mon Sep 17 00:00:00 2001 From: orignal Date: Fri, 30 Jan 2015 15:29:33 -0500 Subject: [PATCH] don't send DatabaseStore reply for local destinations --- Destination.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Destination.cpp b/Destination.cpp index 6414a6b3..9b02f3fb 100644 --- a/Destination.cpp +++ b/Destination.cpp @@ -216,8 +216,11 @@ namespace client { uint32_t replyToken = bufbe32toh (buf + DATABASE_STORE_REPLY_TOKEN_OFFSET); size_t offset = DATABASE_STORE_HEADER_SIZE; - if (replyToken) // TODO: + if (replyToken) + { + LogPrint (eLogInfo, "Reply token is ignored for DatabaseStore"); offset += 36; + } if (buf[DATABASE_STORE_TYPE_OFFSET] == 1) // LeaseSet { LogPrint (eLogDebug, "Remote LeaseSet");