Making sure both Echo request and echo response are supported types. Echo response/request is working again.

master
Pedro Alvarez 6 years ago
parent a2befbd949
commit 28f377128b

@ -110,7 +110,7 @@ inline bool gtpu_supported_flags_check(gtpu_header_t *header, srslte::log *gtpu_
inline bool gtpu_supported_msg_type_check(gtpu_header_t *header, srslte::log *gtpu_log)
{
//msg_tpye
if( header->message_type != GTPU_MSG_DATA_PDU && header->message_type != GTPU_MSG_ECHO_REQUEST ) {
if( header->message_type != GTPU_MSG_DATA_PDU && header->message_type != GTPU_MSG_ECHO_REQUEST && header->message_type != GTPU_MSG_ECHO_RESPONSE) {
gtpu_log->error("gtpu_header - Unhandled message type: 0x%x\n", header->message_type);
return false;
}

Loading…
Cancel
Save