mme: Fix ULA without Subscribed-RAU-TAU-Timer

The check for whether the AVP exists in the ULA was wrong, resulting in
the MME refusing to proceed without this AVP.  However, it is not a
mandatory AVP.
This commit is contained in:
Harald Welte 2019-08-15 18:47:49 +02:00
parent c4956c88b8
commit 25b5cec6ed
1 changed files with 1 additions and 1 deletions

View File

@ -712,7 +712,7 @@ static void mme_s6a_ula_cb(void *data, struct msg **msg)
ret = fd_avp_search_avp(avp, s6a_subscribed_rau_tau_timer, &avpch1);
ogs_assert(ret == 0);
if (avp) {
if (avpch1) {
ret = fd_msg_avp_hdr(avpch1, &hdr);
ogs_assert(ret == 0);
subscription_data->subscribed_rau_tau_timer = hdr->avp_value->i32;