Update error message if SGW is not running (#59)

This commit is contained in:
Sukchan Lee 2018-05-14 21:46:19 +09:00
parent 1b21c21395
commit 550a606306
2 changed files with 6 additions and 2 deletions

View File

@ -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
{

View File

@ -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: