summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSKobziev <skobziev@luxoft.com>2018-10-08 18:36:27 +0300
committerSKobziev <skobziev@luxoft.com>2018-10-08 18:36:27 +0300
commit3a50a73a998f995043bf7e4de32b3daf73615c83 (patch)
tree4b8c1e40c56fb9fe99d2876a34adbfb4a11ba8a8
parent28235f88a6733106a7e8a0d490dfb16a5f374a33 (diff)
downloadsdl_core-fix/Remove_an_impossible_case_from_ProtocolHandlerImpl.tar.gz
remove an impossible case from protocol handler implfix/Remove_an_impossible_case_from_ProtocolHandlerImpl
-rw-r--r--src/components/protocol_handler/src/protocol_handler_impl.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/components/protocol_handler/src/protocol_handler_impl.cc b/src/components/protocol_handler/src/protocol_handler_impl.cc
index 093d89490b..0c9b68f9c5 100644
--- a/src/components/protocol_handler/src/protocol_handler_impl.cc
+++ b/src/components/protocol_handler/src/protocol_handler_impl.cc
@@ -177,11 +177,6 @@ void set_hash_id(uint32_t hash_id, protocol_handler::ProtocolPacket& packet) {
if (HASH_ID_NOT_SUPPORTED == hash_id || HASH_ID_WRONG == hash_id) {
return;
}
- if (packet.protocol_version() < PROTOCOL_VERSION_2) {
- LOG4CXX_DEBUG(logger_,
- "Packet needs no hash data (protocol version less 2)");
- return;
- }
LOG4CXX_DEBUG(logger_,
"Set hash_id 0x" << std::hex << hash_id << " to the packet 0x"
<< &packet);