gsup_client_mux_tx_error_reply(): fix: do not omit SM-RP-MR IE

The SM-RP-MR (Message Reference for SM Service) value in the response
(no matter result or error) shall match the value from the request.

Change-Id: Ifb6e749928548e6febfe7768aefe9a2a3ecf4de0
This commit is contained in:
Vadim Yanitskiy 2019-06-15 03:10:33 +07:00
parent c33d94be93
commit 20edc9723e
1 changed files with 3 additions and 0 deletions

View File

@ -154,6 +154,9 @@ void gsup_client_mux_tx_error_reply(struct gsup_client_mux *gcm, const struct os
.cause = cause,
.message_type = OSMO_GSUP_TO_MSGT_ERROR(gsup_orig->message_type),
.message_class = gsup_orig->message_class,
/* RP-Message-Reference is mandatory for SM Service */
.sm_rp_mr = gsup_orig->sm_rp_mr,
};
OSMO_STRLCPY_ARRAY(gsup_reply.imsi, gsup_orig->imsi);