summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-07 14:15:17 +0100
committerHarald Welte <laforge@gnumonks.org>2017-01-27 09:59:30 +0100
commitdb3a4bb5a5a1ab49d47739130356176604bd45dd (patch)
tree2f0f4af06bb90f671782185dd38a6ef092150377
parentb5f0d1c9bc16fb4c90ca48ba5bfb9f775f221d45 (diff)
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
-rw-r--r--src/sua.c2
1 files changed, 1 insertions, 1 deletions
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 @@ static void tx_inact_tmr_cb(void *data)
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);