Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pespin committed Dec 20, 2023
1 parent 2e77034 commit f33b36a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/gtp/xact.c
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,13 @@ int ogs_gtp1_xact_receive(
list = &gnode->local_list;
break;
case GTP_XACT_FINAL_STAGE:
list = &gnode->local_list; // FIXME: is this correct?
/* For types which are replies to replies, the xact is never locally
* created during transmit, but actually during rx of the initial req, hence
* it is never placed in the local_list, but in the remote_list. */
if (type == OGS_GTP1_SGSN_CONTEXT_ACKNOWLEDGE_TYPE)
list = &gnode->remote_list;
else
list = &gnode->local_list;
break;
default:
ogs_error("[%d] Unexpected type %u from GTPv1 peer [%s]:%d",
Expand Down

0 comments on commit f33b36a

Please sign in to comment.