diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-06 18:03:11 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-06 18:03:11 +0800 |
commit | 39a97e24fb7f5f67813bb4abd99038cd124b9583 (patch) | |
tree | b891c89a81e302fb07e736d8173b60b8dafd7139 /openbsc/include/openbsc | |
parent | 869e38eced83a73ce95f415d2013f6b648aa16a6 (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')
-rw-r--r-- | openbsc/include/openbsc/mgcp_internal.h | 1 |
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; |