commit | d04d3652f91024b0027f9392cba6ab171daeeff4 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Sun Aug 29 22:39:07 2010 +0800 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Sun Aug 29 22:39:07 2010 +0800 |
tree | d43b685c4d0db5af44927e695a5977e9e8372534 | |
parent | 8c61f798dd0853df558d929453c106ad1e4c8c30 [diff] |
nat: Close the right endpoint down the stream.
diff --git a/openbsc/src/nat/bsc_mgcp_utils.c b/openbsc/src/nat/bsc_mgcp_utils.c index 475e04c..2dcd250 100644 --- a/openbsc/src/nat/bsc_mgcp_utils.c +++ b/openbsc/src/nat/bsc_mgcp_utils.c
@@ -333,7 +333,7 @@ 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");