cosmetic: fixing coding style

Change-Id: I9dc3b1d2990ad6c89932d77632c3b22748e8361e
This commit is contained in:
Philipp Maier 2017-06-07 18:19:53 +02:00 committed by Neels Hofmeyr
parent f6209b2fba
commit 5494664109
1 changed files with 3 additions and 3 deletions

View File

@ -553,7 +553,8 @@ static int bssmap_ass_compl(struct osmo_sccp_user *scu, struct a_conn_info *a_co
} }
/* Decode AoIP transport address element */ /* Decode AoIP transport address element */
rc = gsm0808_dec_aoip_trasp_addr(&rtp_addr, TLVP_VAL(&tp, GSM0808_IE_AOIP_TRASP_ADDR), TLVP_LEN(&tp, GSM0808_IE_AOIP_TRASP_ADDR)); rc = gsm0808_dec_aoip_trasp_addr(&rtp_addr, TLVP_VAL(&tp, GSM0808_IE_AOIP_TRASP_ADDR),
TLVP_LEN(&tp, GSM0808_IE_AOIP_TRASP_ADDR));
if (rc < 0) { if (rc < 0) {
LOGP(DMSC, LOGL_ERROR, "Unable to decode aoip transport address.\n"); LOGP(DMSC, LOGL_ERROR, "Unable to decode aoip transport address.\n");
goto fail; goto fail;
@ -561,8 +562,7 @@ static int bssmap_ass_compl(struct osmo_sccp_user *scu, struct a_conn_info *a_co
/* use address / port supplied with the AoIP /* use address / port supplied with the AoIP
* transport address element */ * transport address element */
if(rtp_addr.ss_family == AF_INET) if (rtp_addr.ss_family == AF_INET) {
{
rtp_addr_in = (struct sockaddr_in *)&rtp_addr; rtp_addr_in = (struct sockaddr_in *)&rtp_addr;
conn->iu.mgcp_rtp_port_ue = osmo_ntohs(rtp_addr_in->sin_port); conn->iu.mgcp_rtp_port_ue = osmo_ntohs(rtp_addr_in->sin_port);
/* FIXME: We also get the IP-Address of the remote (e.g. BTS) /* FIXME: We also get the IP-Address of the remote (e.g. BTS)