[MERGED] osmo-ttcn3-hacks[master]: MNCC: Make sure all unused fields are set to omit, not 'unbo...

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
Wed Jan 17 13:34:58 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: MNCC: Make sure all unused fields are set to omit, not 'unbound'
......................................................................


MNCC: Make sure all unused fields are set to omit, not 'unbound'

Change-Id: I0ef3afa19d4ad5e011a7c0d86f8367461608e163
---
M library/MNCC_EncDec.cc
1 file changed, 5 insertions(+), 0 deletions(-)

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



diff --git a/library/MNCC_EncDec.cc b/library/MNCC_EncDec.cc
index eec3897..2c68cb1 100644
--- a/library/MNCC_EncDec.cc
+++ b/library/MNCC_EncDec.cc
@@ -218,6 +218,11 @@
 
 	in_mncc = (struct gsm_mncc *) ttcn_buffer.get_read_data();
 
+	sign.set_implicit_omit();
+	hello.set_implicit_omit();
+	data.set_implicit_omit();
+	rtp.set_implicit_omit();
+
 	switch (in_mncc->msg_type) {
 	case MNCC_SOCKET_HELLO:
 		in_hello = (const struct gsm_mncc_hello *) in_mncc;

-- 
To view, visit https://gerrit.osmocom.org/5848
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0ef3afa19d4ad5e011a7c0d86f8367461608e163
Gerrit-PatchSet: 2
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list