BSSMAP_Emulation: Sleep 1s to wait for M3UA/AS/ASP to come active
We don't have a good way to make the BSSMAP code wait for the lower SIGTRAN layers to be up and running. To avoid the RESET being sent before the lower layers are up, introduce a sleep of 1s. This is ugly, but appears to work for now. A more proper solution is more than welcome. Change-Id: I7a43b3e381405f3af30b3ffe04bc50e64ec66f57
This commit is contained in:
parent
e057146df7
commit
7f5825807d
|
@ -523,6 +523,7 @@ function main(BssmapOps ops, charstring id) runs on BSSMAP_Emulation_CT {
|
|||
f_expect_table_init();
|
||||
|
||||
if (isvalue(ops.sccp_addr_peer) and isvalue(ops.sccp_addr_local)) {
|
||||
f_sleep(1.0); /* HACK to wait for M3UA/ASP to be ACTIVE */
|
||||
f_bssap_reset(ops.sccp_addr_peer, ops.sccp_addr_local);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue