forked from acouzens/open5gs
Update error message if SGW is not running (#59)
This commit is contained in:
parent
1b21c21395
commit
550a606306
|
@ -632,8 +632,11 @@ status_t gtp_xact_timeout(index_t index, c_uintptr_t event)
|
|||
pkbuf = xact->seq[xact->step-1].pkbuf;
|
||||
d_assert(pkbuf, return CORE_ERROR, "Null param");
|
||||
|
||||
d_assert(gtp_send(xact->gnode, pkbuf) == CORE_OK,
|
||||
goto out, "gtp_send error");
|
||||
if (gtp_send(xact->gnode, pkbuf) != CORE_OK)
|
||||
{
|
||||
d_error("gtp_send() failed");
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -588,6 +588,7 @@ void mme_state_operational(fsm_t *s, event_t *e)
|
|||
case MME_EVT_S11_T3_HOLDING:
|
||||
{
|
||||
gtp_xact_timeout(event_get_param1(e), event_get(e));
|
||||
d_error("MME cannot send GTPv2-C message to SGW");
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue