Change in libosmocore[master]: GSUP: fix missing osmo_gsup_get_err_msg_type()s

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Dec 21 12:45:04 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/12408 )

Change subject: GSUP: fix missing osmo_gsup_get_err_msg_type()s
......................................................................

GSUP: fix missing osmo_gsup_get_err_msg_type()s

Add missing mappings of request to error message types in
osmo_gsup_get_error_msg_type():
* PROC_SS_REQUEST
* MO_FORWARD_SM_REQUEST
* MT_FORWARD_SM_REQUEST
* READY_FOR_SM_REQUEST

Change-Id: I801a0d6ffe09cfc75b77ab602bd25b3dc40f19c0
---
M src/gsm/gsup.c
1 file changed, 8 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Vadim Yanitskiy: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved



diff --git a/src/gsm/gsup.c b/src/gsm/gsup.c
index c1c9992..3b31d03 100644
--- a/src/gsm/gsup.c
+++ b/src/gsm/gsup.c
@@ -108,6 +108,14 @@
 		return OSMO_GSUP_MSGT_DELETE_DATA_ERROR;
 	case OSMO_GSUP_MSGT_LOCATION_CANCEL_REQUEST:
 		return OSMO_GSUP_MSGT_LOCATION_CANCEL_ERROR;
+	case OSMO_GSUP_MSGT_PROC_SS_REQUEST:
+		return OSMO_GSUP_MSGT_PROC_SS_ERROR;
+	case OSMO_GSUP_MSGT_MO_FORWARD_SM_REQUEST:
+		return OSMO_GSUP_MSGT_MO_FORWARD_SM_ERROR;
+	case OSMO_GSUP_MSGT_MT_FORWARD_SM_REQUEST:
+		return OSMO_GSUP_MSGT_MT_FORWARD_SM_ERROR;
+	case OSMO_GSUP_MSGT_READY_FOR_SM_REQUEST:
+		return OSMO_GSUP_MSGT_READY_FOR_SM_ERROR;
 	default:
 		return -1;
 	}

-- 
To view, visit https://gerrit.osmocom.org/12408
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I801a0d6ffe09cfc75b77ab602bd25b3dc40f19c0
Gerrit-Change-Number: 12408
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181221/067f4e66/attachment.htm>


More information about the gerrit-log mailing list