From 5fd4f421e9ea733d74ec6ab80fffa1d4ba666e00 Mon Sep 17 00:00:00 2001 From: AlaiaL Date: Fri, 23 Apr 2021 15:56:21 +0200 Subject: [PATCH] Fixes coverity 366610 --- srsepc/src/spgw/gtpu.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsepc/src/spgw/gtpu.cc b/srsepc/src/spgw/gtpu.cc index 1917ebc9a..e0d8d79bd 100644 --- a/srsepc/src/spgw/gtpu.cc +++ b/srsepc/src/spgw/gtpu.cc @@ -235,7 +235,7 @@ void spgw::gtpu::handle_sgi_pdu(srsran::unique_byte_buffer_t msg) m_gtpc->send_downlink_data_notification(spgw_teid); m_gtpc->queue_downlink_packet(spgw_teid, std::move(msg)); return; - } else if (usr_found == false && ctr_found == true) { + } else if (usr_found == true && ctr_found == false) { m_logger.error("User plane tunnel found without a control plane tunnel present."); } else { send_s1u_pdu(enb_fteid, msg.get());