aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-08-06 18:03:11 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-08-06 18:03:11 +0800
commit39a97e24fb7f5f67813bb4abd99038cd124b9583 (patch)
treeb891c89a81e302fb07e736d8173b60b8dafd7139 /openbsc/include
parent869e38eced83a73ce95f415d2013f6b648aa16a6 (diff)
mgcp: Remember if the endpoint was allocated...
Do not use the CI_UNUSED to decide if an endpoint is allocated but introduce a new flag. This way only the CRCX and free_endp play with the allocated field.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/mgcp_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h
index d7be0a244..12e3ad9b1 100644
--- a/openbsc/include/openbsc/mgcp_internal.h
+++ b/openbsc/include/openbsc/mgcp_internal.h
@@ -85,6 +85,7 @@ struct mgcp_rtp_tap {
};
struct mgcp_endpoint {
+ int allocated;
uint32_t ci;
char *callid;
char *local_options;