From c9cd355cdb891b1335edd3dc585b43ee8d2426a6 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Mon, 1 Oct 2018 15:46:14 +0100 Subject: [PATCH] Forgot to use supported_msg_type_check in gtpu_write_header. --- lib/src/upper/gtpu.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/src/upper/gtpu.cc b/lib/src/upper/gtpu.cc index b373cc546..38a8cd572 100644 --- a/lib/src/upper/gtpu.cc +++ b/lib/src/upper/gtpu.cc @@ -43,8 +43,7 @@ bool gtpu_write_header(gtpu_header_t *header, srslte::byte_buffer_t *pdu, srslte } //msg type - if(header->message_type != GTPU_MSG_DATA_PDU || header->message_type != GTPU_MSG_ECHO_REQUEST) { - gtpu_log->error("gtpu_write_header - Unhandled message type: 0x%x\n", header->message_type); + if(!gtpu_supported_msg_type_check(header,gtpu_log)){ return false; }