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/.

osmith gerrit-no-reply at lists.osmocom.org
Fri Dec 21 09:53:47 UTC 2018


osmith has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/08/12408/1

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: newchange
Gerrit-Change-Id: I801a0d6ffe09cfc75b77ab602bd25b3dc40f19c0
Gerrit-Change-Number: 12408
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181221/6e903efa/attachment.htm>


More information about the gerrit-log mailing list