Commit 4714bb55 authored by wangyongshou's avatar wangyongshou

Network byte order problem

parent 2a678030
......@@ -2554,8 +2554,9 @@ ip4_rewrite_inline_with_gso (vlib_main_t * vm,
{
bupt_gtpu4_header->ver_flags = gtpu_dl->ver_flags;
bupt_gtpu4_header->type = gtpu_dl->type;
bupt_gtpu4_header->teid = gtpu_dl->dl_teid;
//bupt_gtpu4_header->teid = clib_net_to_host_u32(gtpu_dl->dl_teid);
//bupt_gtpu4_header->teid = clib_net_to_host_u32(gtpu_dl->dl_teid);
bupt_gtpu4_header->teid = clib_net_to_host_u32(gtpu_dl->dl_teid);
bupt_gtpu4_header->sequence = gtpu_dl->sequence ;
bupt_gtpu4_header->pdu_number = gtpu_dl->pdu_number;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment