Forward GTP_END_MARKER to target

This commit is contained in:
James Park 2017-09-15 15:07:27 -07:00
parent c9e5386d99
commit a6bd2ff30c
1 changed files with 2 additions and 1 deletions

View File

@ -259,7 +259,8 @@ static int _gtpv1_s1u_recv_cb(net_sock_t *sock, void *data)
pkbuf_free(echo_rsp);
}
}
else if (gtp_h->type == GTPU_MSGTYPE_GPDU)
else if (gtp_h->type == GTPU_MSGTYPE_GPDU ||
gtp_h->type == GTPU_MSGTYPE_END_MARKER)
{
teid = ntohl(gtp_h->teid);
d_trace(50, "Recv GPDU (teid = 0x%x) from ENB\n",teid);