aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2017-09-08 04:00:55 +0200
committerDaniel Willmann <dwillmann@sysmocom.de>2017-09-08 04:00:55 +0200
commite47f67588a774bcb3bb1fa39972d3f705d167f18 (patch)
treee3e226d1a6744a24149309bacb21abfe6765e773
parent986e54a1982dd1bab71dc843ff0c4ae014f83965 (diff)
WIP: Add missing lines
-rw-r--r--openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c6
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);
}