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.orgHarald Welte has submitted this change and it was merged. Change subject: MNCC_Emulation: Initialize connection table ...................................................................... MNCC_Emulation: Initialize connection table Change-Id: I903f6bf14a15abc6cae1d527195414c5f081c2df --- M library/MNCC_Emulation.ttcn 1 file changed, 9 insertions(+), 0 deletions(-) Approvals: Harald Welte: Looks good to me, approved Jenkins Builder: Verified diff --git a/library/MNCC_Emulation.ttcn b/library/MNCC_Emulation.ttcn index de29288..60ec58b 100644 --- a/library/MNCC_Emulation.ttcn +++ b/library/MNCC_Emulation.ttcn @@ -145,6 +145,14 @@ return call_id; } +private function f_expect_table_init() +runs on MNCC_Emulation_CT { + for (var integer i := 0; i < sizeof(MnccExpectTable); i := i+1) { + MnccExpectTable[i].dest_number := omit; + MnccExpectTable[i].vc_conn := null; + } +} + private function f_call_table_init() runs on MNCC_Emulation_CT { for (var integer i := 0; i < sizeof(MnccCallTable); i := i+1) { @@ -223,6 +231,7 @@ function main(MnccOps ops, charstring id, charstring sock) runs on MNCC_Emulation_CT { f_connect(sock); + f_expect_table_init(); f_call_table_init(); while (true) { -- To view, visit https://gerrit.osmocom.org/6298 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I903f6bf14a15abc6cae1d527195414c5f081c2df Gerrit-PatchSet: 1 Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Owner: daniel <dwillmann at sysmocom.de> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder