bsc: Move hardcoded ip addr to variable

This way it's more clear what are those IP addresses for.

Change-Id: I3600fd0d0486205e5bdc487fa75e9038d3bfb52c
This commit is contained in:
Pau Espin 2019-06-18 17:17:19 +02:00 committed by pespin
parent 1fc30b9483
commit 392963fa28
1 changed files with 3 additions and 1 deletions

View File

@ -360,6 +360,8 @@ type component MSC_ConnHdlr extends RAN_ConnHdlr, RSL_DchanHdlr, MGCP_ConnHdlr {
var MediaState g_media;
var TestHdlrParams g_pars;
var charstring host_bts := "127.0.0.2";
var charstring host_mgw := "127.0.0.3";
var boolean g_vty_initialized := false;
}
@ -878,7 +880,7 @@ runs on MSC_ConnHdlr {
codecType := FR_AMR;
}
f_MscConnHdlr_init(g_pars.media_nr, "127.0.0.2", "127.0.0.3", codecType);
f_MscConnHdlr_init(g_pars.media_nr, host_bts, host_mgw, codecType);
/* patch in the LCLS related items, as needed */
f_ass_patch_lcls(ass_tpl, exp_ass_cpl);