diff options
Diffstat (limited to 'src/components/protocol_handler/src/multiframe_builder.cc')
-rw-r--r-- | src/components/protocol_handler/src/multiframe_builder.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/protocol_handler/src/multiframe_builder.cc b/src/components/protocol_handler/src/multiframe_builder.cc index d7cfc6f90e..fbfc061490 100644 --- a/src/components/protocol_handler/src/multiframe_builder.cc +++ b/src/components/protocol_handler/src/multiframe_builder.cc @@ -261,6 +261,11 @@ RESULT_CODE MultiFrameBuilder::HandleConsecutiveFrame( } } + const bool packet_protection_flag = packet->protection_flag(); + if (!assembling_frame->protection_flag() && packet_protection_flag) { + assembling_frame->set_protection_flag(packet_protection_flag); + } + assembling_frame->set_frame_data(new_frame_data); LOG4CXX_DEBUG(logger_, |