gsup_client_mux_tx_error_reply(): fix: do not omit message class IE

Found using the new TC_mt_ussd_for_unknown_subscr test case.

Change-Id: Id00a99b713a6b97c455b8e6ae49abea163e8281f
Related: (TTCN-3) Id35cd3ec15d1bab15260312d7bbb41e2d10349fe
Related: OS#2931
This commit is contained in:
Vadim Yanitskiy 2019-06-15 01:31:50 +07:00
parent 463005e246
commit c33d94be93
1 changed files with 1 additions and 0 deletions

View File

@ -153,6 +153,7 @@ void gsup_client_mux_tx_error_reply(struct gsup_client_mux *gcm, const struct os
gsup_reply = (struct osmo_gsup_message){
.cause = cause,
.message_type = OSMO_GSUP_TO_MSGT_ERROR(gsup_orig->message_type),
.message_class = gsup_orig->message_class,
};
OSMO_STRLCPY_ARRAY(gsup_reply.imsi, gsup_orig->imsi);