diff options
Diffstat (limited to 'openbsc/tests')
-rw-r--r-- | openbsc/tests/bsc-nat/bsc_nat_test.c | 4 | ||||
-rw-r--r-- | openbsc/tests/mgcp/mgcp_test.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c index 3e943cfe5..504b69196 100644 --- a/openbsc/tests/bsc-nat/bsc_nat_test.c +++ b/openbsc/tests/bsc-nat/bsc_nat_test.c @@ -446,7 +446,7 @@ static void test_mgcp_allocations(void) struct bsc_endpoint, 65); nat->mgcp_cfg = mgcp_config_alloc(); - nat->mgcp_cfg->number_endpoints = 64; + nat->mgcp_cfg->trunk.number_endpoints = 64; bsc = bsc_connection_alloc(nat); bsc->cfg = bsc_config_alloc(nat, "foo"); @@ -491,7 +491,7 @@ static void test_mgcp_ass_tracking(void) struct bsc_endpoint, 33); nat->mgcp_cfg = mgcp_config_alloc(); - nat->mgcp_cfg->number_endpoints = 64; + nat->mgcp_cfg->trunk.number_endpoints = 64; bsc = bsc_connection_alloc(nat); bsc->cfg = bsc_config_alloc(nat, "foo"); diff --git a/openbsc/tests/mgcp/mgcp_test.c b/openbsc/tests/mgcp/mgcp_test.c index c03936521..c63a7860f 100644 --- a/openbsc/tests/mgcp/mgcp_test.c +++ b/openbsc/tests/mgcp/mgcp_test.c @@ -47,7 +47,7 @@ static void test_auep(void) struct msgb *inp; struct msgb *msg; struct mgcp_config *cfg = mgcp_config_alloc(); - cfg->number_endpoints = 64; + cfg->trunk.number_endpoints = 64; mgcp_endpoints_allocate(cfg); inp = create_auep1(); |