Change in osmo-ttcn3-hacks[master]: library/DIAMETER_Templates: set default {hbh, ete}_id in ts_DIAMETER

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

laforge gerrit-no-reply at lists.osmocom.org
Wed Dec 15 14:22:01 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26511 )

Change subject: library/DIAMETER_Templates: set default {hbh,ete}_id in ts_DIAMETER
......................................................................

library/DIAMETER_Templates: set default {hbh,ete}_id in ts_DIAMETER

Having default values for these parameters allows omitting them
in subsequent send template definitions based on ts_DIAMETER.

Change-Id: I714b18bbe77949593803e999d25e4ef8e1827917
Related: SYS#5602
---
M library/DIAMETER_Templates.ttcn
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/library/DIAMETER_Templates.ttcn b/library/DIAMETER_Templates.ttcn
index 2cc2986..b27d144 100644
--- a/library/DIAMETER_Templates.ttcn
+++ b/library/DIAMETER_Templates.ttcn
@@ -110,8 +110,8 @@
 ts_DIAMETER(template (value) BIT8 flags,
 	    template (value) Command_Code cmd_code,
 	    template (value) OCTET4 app_id := '00000000'O,
-	    template (value) UINT32 hbh_id,
-	    template (value) UINT32 ete_id,
+	    template (value) UINT32 hbh_id := '00000000'O,
+	    template (value) UINT32 ete_id := '00000000'O,
 	    template (value) AVP_list avps := {}
 ) := {
 	version := 1,

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26511
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I714b18bbe77949593803e999d25e4ef8e1827917
Gerrit-Change-Number: 26511
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211215/2894a2f5/attachment.htm>


More information about the gerrit-log mailing list