diff options
Diffstat (limited to 'openbsc/tests/bsc-nat/bsc_nat_test.c')
-rw-r--r-- | openbsc/tests/bsc-nat/bsc_nat_test.c | 4 |
1 files changed, 2 insertions, 2 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"); |