diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2017-09-08 04:00:55 +0200 |
---|---|---|
committer | Daniel Willmann <dwillmann@sysmocom.de> | 2017-09-08 04:00:55 +0200 |
commit | e47f67588a774bcb3bb1fa39972d3f705d167f18 (patch) | |
tree | e3e226d1a6744a24149309bacb21abfe6765e773 | |
parent | 986e54a1982dd1bab71dc843ff0c4ae014f83965 (diff) |
WIP: Add missing lines
Change-Id: I353502ed27fc1eb828169a4aaccaf04593eacdd8
-rw-r--r-- | openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c b/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c index 79e44a377..32e3f4f8e 100644 --- a/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c +++ b/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c @@ -638,8 +638,8 @@ static int bsc_mgcp_policy_cb(struct mgcp_trunk_config *tcfg, int endpoint, int /* * We do have a failure, free data downstream.. */ -static void free_chan_downstream(struct mgcp_endpoint *endp, struct bsc_endpoint *bsc_endp, - struct bsc_connection *bsc) +static void free_chan_downstream(struct mgcp_config *mgcp_cfg, struct mgcp_endpoint *endp, + struct bsc_endpoint *bsc_endp, struct bsc_connection *bsc) { LOGP(DMGCP, LOGL_ERROR, "No CI, freeing endpoint 0x%x in state %d\n", ENDPOINT_NUMBER(endp), bsc_endp->transaction_state); @@ -662,7 +662,7 @@ static void free_chan_downstream(struct mgcp_endpoint *endp, struct bsc_endpoint } } - bsc_mgcp_free_endpoint(bsc->nat, ENDPOINT_NUMBER(endp)); + bsc_mgcp_free_endpoint(mgcp_cfg, ENDPOINT_NUMBER(endp)); mgcp_release_endp(endp); } |