pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43700?usp=email ) Change subject: smf: Pass idx explicitly when registering against the the HTTP Server Emulation ...................................................................... smf: Pass idx explicitly when registering against the the HTTP Server Emulation Change-Id: I40ccf951c16d1a0df21ef3b438042c76370aa933 --- M library/HTTP2_Server_Emulation.ttcn M smf/SMF_Session_CT_5G.ttcn 2 files changed, 4 insertions(+), 4 deletions(-) Approvals: osmith: Looks good to me, but someone else must approve pespin: Looks good to me, approved Jenkins Builder: Verified diff --git a/library/HTTP2_Server_Emulation.ttcn b/library/HTTP2_Server_Emulation.ttcn index 528cd94..a31ef87 100644 --- a/library/HTTP2_Server_Emulation.ttcn +++ b/library/HTTP2_Server_Emulation.ttcn @@ -409,9 +409,9 @@ port HTTP2_CONN_PROC_PT HTTP2_CONN_PROC[16]; }; -function f_http2_server_emu_register(integer id := 0) runs on HTTP2_ConnHdlr { - HTTP2_CONN_PROC[id].call(HTTP2EM_register:{}) { - [] HTTP2_CONN_PROC[id].getreply(HTTP2EM_register:{}); +function f_http2_server_emu_register(integer idx := 0) runs on HTTP2_ConnHdlr { + HTTP2_CONN_PROC[idx].call(HTTP2EM_register:{}) { + [] HTTP2_CONN_PROC[idx].getreply(HTTP2EM_register:{}); } } diff --git a/smf/SMF_Session_CT_5G.ttcn b/smf/SMF_Session_CT_5G.ttcn index 661b938..f213944 100644 --- a/smf/SMF_Session_CT_5G.ttcn +++ b/smf/SMF_Session_CT_5G.ttcn @@ -47,7 +47,7 @@ function f_handler_init_5G() runs on SMF_Session_CT { /* Create SCP HTTP2 sever, where IUT will send all SBI requests: */ - f_http2_server_emu_register(); + f_http2_server_emu_register(idx := HTTP2_CONN_SCP); } /******************************************** -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43700?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I40ccf951c16d1a0df21ef3b438042c76370aa933 Gerrit-Change-Number: 43700 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: osmith <osmith@sysmocom.de> Gerrit-Reviewer: pespin <pespin@sysmocom.de>