Change in osmo-bts[master]: common/oml.c: use proper NACK reason in oml_tx_attr_resp()

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Apr 21 08:06:37 UTC 2019


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

Change subject: common/oml.c: use proper NACK reason in oml_tx_attr_resp()
......................................................................

common/oml.c: use proper NACK reason in oml_tx_attr_resp()

Change-Id: I482caa0747f81da2979bfbdbd22bd6962af728cd
---
M src/common/oml.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/src/common/oml.c b/src/common/oml.c
index 03fdc56..568d406 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -275,7 +275,7 @@
 	default:
 		LOGP(DOML, LOGL_ERROR, "Unsupported MO class %s in Get Attribute Response\n",
 		     get_value_string(abis_nm_obj_class_names, foh->obj_class));
-		len = -NM_NACK_RES_NOTIMPL;
+		len = -NM_NACK_OBJCLASS_NOTSUPP;
 	}
 
 	if (len < 0) {

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I482caa0747f81da2979bfbdbd22bd6962af728cd
Gerrit-Change-Number: 13700
Gerrit-PatchSet: 2
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190421/97eb33d3/attachment.html>


More information about the gerrit-log mailing list