aboutsummaryrefslogtreecommitdiffstats
path: root/src/sctp_m2ua.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sctp_m2ua.c')
-rw-r--r--src/sctp_m2ua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sctp_m2ua.c b/src/sctp_m2ua.c
index 55aac91..6d80842 100644
--- a/src/sctp_m2ua.c
+++ b/src/sctp_m2ua.c
@@ -611,7 +611,7 @@ static int sctp_m2ua_write(struct mtp_link *link, struct msgb *msg)
m2ua->hdr.msg_class = M2UA_CLS_MAUP;
m2ua->hdr.msg_type = M2UA_MAUP_DATA;
- interface = htonl(0);
+ interface = htonl(mlink->link_index);
m2ua_msg_add_data(m2ua, MUA_TAG_IDENT_INT, 4, (uint8_t *) &interface);
m2ua_msg_add_data(m2ua, M2UA_TAG_DATA, msg->len, msg->data);