[MERGED] libosmo-sccp[master]: SUA COIT: send dest ref nr, not dest addr

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Jan 27 09:27:38 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: SUA COIT: send dest ref nr, not dest addr
......................................................................


SUA COIT: send dest ref nr, not dest addr

See RFC 3868 3.3.11
https://tools.ietf.org/html/rfc3868#section-3.3.11

Change-Id: I083384876d4a8d7fa9c03409fbdc9e00e3c8f416
---
M src/sua.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/sua.c b/src/sua.c
index 110f1e5..5ae5f76 100644
--- a/src/sua.c
+++ b/src/sua.c
@@ -272,7 +272,7 @@
 	xua_msg_add_u32(xua, SUA_IEI_ROUTE_CTX, 0);	/* FIXME */
 	xua_msg_add_u32(xua, SUA_IEI_PROTO_CLASS, 2);
 	xua_msg_add_u32(xua, SUA_IEI_SRC_REF, conn->conn_id);
-	xua_msg_add_sccp_addr(xua, SUA_IEI_DEST_ADDR, &conn->called_addr);
+	xua_msg_add_u32(xua, SUA_IEI_DEST_REF, conn->remote_ref);
 	/* optional: sequence number; credit (both class 3 only) */
 
 	outmsg = xua_to_msg(1, xua);

-- 
To view, visit https://gerrit.osmocom.org/1669
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I083384876d4a8d7fa9c03409fbdc9e00e3c8f416
Gerrit-PatchSet: 2
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>


More information about the gerrit-log mailing list