aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/mgcp_internal.h
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-08 07:28:45 +0800
commitc737fbd4afbe39486e06c98136f120ea995a3286 (patch)
treea30157ced9fe737bae85be59c7662898e7b273c9 /openbsc/include/openbsc/mgcp_internal.h
parent24963554a86e85df2319c78f6e4f72c2cb5d32a4 (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/openbsc/mgcp_internal.h')
-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;