[PATCH] 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:00:05 UTC 2017

Hello Jenkins Builder,

I'd like you to reexamine a change.  Please visit


to look at the new patch set (#2).

SUA COIT: send dest ref nr, not dest addr

See RFC 3868 3.3.11

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

  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/69/1669/2

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: newpatchset
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