diff options
author | lichengcheng <lichengcheng@iauto.com> | 2022-02-22 11:55:25 +0800 |
---|---|---|
committer | lichengcheng <lichengcheng@iauto.com> | 2022-02-22 11:55:25 +0800 |
commit | 6ad0dc5e81b19611a393cd8b46221314e2400453 (patch) | |
tree | 4cc2a454e963542969e3a32b5f8e7f7313d97e58 | |
parent | 13f9c89ced6ffaeb1faf485152e27e1f40d234cd (diff) | |
download | vSomeIP-6ad0dc5e81b19611a393cd8b46221314e2400453.tar.gz |
fix for TC8 test case SOMEIPSRV_RPC_07 to passed
-rw-r--r-- | implementation/endpoints/src/udp_server_endpoint_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/implementation/endpoints/src/udp_server_endpoint_impl.cpp b/implementation/endpoints/src/udp_server_endpoint_impl.cpp index bd6fc62..a89762f 100644 --- a/implementation/endpoints/src/udp_server_endpoint_impl.cpp +++ b/implementation/endpoints/src/udp_server_endpoint_impl.cpp @@ -571,7 +571,7 @@ void udp_server_endpoint_impl::on_message_received( } else if (current_message_size > VSOMEIP_RETURN_CODE_POS && (_buffer[i + VSOMEIP_PROTOCOL_VERSION_POS] != VSOMEIP_PROTOCOL_VERSION || !utility::is_valid_message_type(tp::tp::tp_flag_unset(_buffer[i + VSOMEIP_MESSAGE_TYPE_POS])) || - !utility::is_valid_return_code(static_cast<return_code_e>(_buffer[i + VSOMEIP_RETURN_CODE_POS])) || + /*!utility::is_valid_return_code(static_cast<return_code_e>(_buffer[i + VSOMEIP_RETURN_CODE_POS])) ||*/ (tp::tp::tp_flag_is_set(_buffer[i + VSOMEIP_MESSAGE_TYPE_POS]) && get_local_port() == configuration_->get_sd_port()) )) { if (_buffer[i + VSOMEIP_PROTOCOL_VERSION_POS] != VSOMEIP_PROTOCOL_VERSION) { |