forked from acouzens/open5gs
lib/gtp/xact: Fix tx of SGSN Context Acknowledge
This commit is contained in:
parent
389ccaed16
commit
27d2f86103
|
@ -268,7 +268,7 @@ int ogs_gtp1_xact_update_tx(ogs_gtp_xact_t *xact,
|
||||||
return OGS_ERROR;
|
return OGS_ERROR;
|
||||||
|
|
||||||
case GTP_XACT_FINAL_STAGE:
|
case GTP_XACT_FINAL_STAGE:
|
||||||
if (xact->step != 2) {
|
if (xact->step != 2 && xact->step != 3) {
|
||||||
ogs_error("invalid step[%d]", xact->step);
|
ogs_error("invalid step[%d]", xact->step);
|
||||||
ogs_pkbuf_free(pkbuf);
|
ogs_pkbuf_free(pkbuf);
|
||||||
return OGS_ERROR;
|
return OGS_ERROR;
|
||||||
|
|
Loading…
Reference in New Issue