pespin submitted this change.
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(-)
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 change 43700. To unsubscribe, or for help writing mail filters, visit settings.