diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-01-28 19:58:55 +0100 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2021-01-30 19:18:18 +0000 |
commit | 77783caf8429957bcb6a2923419fb610fef5a703 (patch) | |
tree | 6d95075c5e0ac60f4199cf7303788bebebb7bce8 | |
parent | 2dc137ccd1e1c9ca08aeb74d4fbd2ab04ba958d6 (diff) |
CTRL_Adapter: Keep server alive after first client disconnects
It can be expected from CTRL clients to connect and disconnect several
times as several commands are sent, so let's by default enable it (only
user of this CTRL servcer in PCU_Tests needs it).
Change-Id: Idddc27671d1b823dfbc62bcf7be673e51b574d63
-rw-r--r-- | library/Osmocom_CTRL_Adapter.ttcn | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/Osmocom_CTRL_Adapter.ttcn b/library/Osmocom_CTRL_Adapter.ttcn index e1fba1b9..adc2887d 100644 --- a/library/Osmocom_CTRL_Adapter.ttcn +++ b/library/Osmocom_CTRL_Adapter.ttcn @@ -81,7 +81,8 @@ runs on CTRL_Adapter_CT { map(vc_CTRL_IPA:IPA_PORT, system:IPA_CODEC_PT); connect(vc_CTRL_IPA:IPA_CTRL_PORT, self:IPA_CTRL); - vc_CTRL_IPA.start(IPA_Emulation.main_server(listen_host, listen_port, false)); + vc_CTRL_IPA.start(IPA_Emulation.main_server(listen_host, listen_port, false, + server_stop_on_ipa_ev_down := false)); } function f_ipa_ctrl_stop() runs on CTRL_Adapter_CT { |