diff options
authorNeels Hofmeyr <>2017-05-17 23:58:04 +0200
committerNeels Hofmeyr <>2017-06-25 22:35:05 +0200
commit6d60152b884eb8be100df0f190f5204b3a3f88e1 (patch)
parent38d2aabd4a880dcdfa3a49dd8d83e2cfd30402ac (diff)
Revert "SCOC: When sending a CORE/CR, SUA SRC_ADDR == CallingPartyAddress"
According to pmaier, this commit breaks AoIP in openbsc.git. Until this question is resolved, I will revert this on my branch to be able to build binaries for the osmo-gsm-tester. This reverts commit 5527df78adc08b76df07c4b682263b5bdd6181d4.
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sccp_scoc.c b/src/sccp_scoc.c
index 9502953..628b63b 100644
--- a/src/sccp_scoc.c
+++ b/src/sccp_scoc.c
@@ -483,7 +483,7 @@ static struct xua_msg *xua_gen_msg_co(struct sccp_connection *conn, uint32_t eve
xua_msg_add_u32(xua, SUA_IEI_ROUTE_CTX, conn->inst->route_ctx);
xua_msg_add_u32(xua, SUA_IEI_PROTO_CLASS, conn->sccp_class);
xua_msg_add_u32(xua, SUA_IEI_SRC_REF, conn->conn_id);
- xua_msg_add_sccp_addr(xua, SUA_IEI_SRC_ADDR, &conn->called_addr);
+ xua_msg_add_sccp_addr(xua, SUA_IEI_DEST_ADDR, &conn->called_addr);
xua_msg_add_u32(xua, SUA_IEI_SEQ_CTRL, 0); /* TODO */
/* optional: sequence number (class 3 only) */
if (conn->calling_addr.presence)