From 88ad7723b44026e85ef322b86c48a07601b106f2 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 28 Feb 2011 00:56:17 +0100 Subject: mgcp: Introduce a mgcp_trunk_config enum for endpoint configs We want to support real trunks in the MGCP code and we need to have some better book keeping for those. Move the code around. --- openbsc/tests/bsc-nat/bsc_nat_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbsc/tests/bsc-nat/bsc_nat_test.c') 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"); -- cgit v1.2.3