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/mgcp/mgcp_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/tests/mgcp') 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(); -- cgit v1.2.3