diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-29 22:39:07 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-29 22:39:07 +0800 |
commit | 8574dcf9da046daaff5703342e376f9f82cc8734 (patch) | |
tree | d43b685c4d0db5af44927e695a5977e9e8372534 | |
parent | 0d8330c8cc066ce6609286fe58de3f7962ef7736 (diff) |
nat: Close the right endpoint down the stream.
-rw-r--r-- | openbsc/src/nat/bsc_mgcp_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_mgcp_utils.c b/openbsc/src/nat/bsc_mgcp_utils.c index 475e04cc2..2dcd25022 100644 --- a/openbsc/src/nat/bsc_mgcp_utils.c +++ b/openbsc/src/nat/bsc_mgcp_utils.c @@ -333,7 +333,7 @@ static void free_chan_downstream(struct mgcp_endpoint *endp, struct bsc_endpoint ENDPOINT_NUMBER(endp)); } else { if (con->bsc == bsc) { - bsc_mgcp_send_dlcx(bsc, ENDPOINT_NUMBER(endp)); + bsc_mgcp_send_dlcx(bsc, con->bsc_endp); } else { LOGP(DMGCP, LOGL_ERROR, "Endpoint belongs to a different BSC\n"); |