Commit af151111 authored by wangyongshou's avatar wangyongshou

Avoid the problem and solve it later

parent 2b2a293e
......@@ -1246,7 +1246,7 @@ VLIB_NODE_FN(upf_gtp_error_ind_node) (vlib_main_t * vm,
upf_session_t *t;
vlib_buffer_t *b;
u32 session_index = ~0;
u32 bi, err;
u32 bi, err = 0;
bi = buffers[0];
buffers += 1;
......@@ -1277,11 +1277,18 @@ VLIB_NODE_FN(upf_gtp_error_ind_node) (vlib_main_t * vm,
vlib_buffer_advance (b, sizeof (gtpu_header_t) - 4);
}
if (decode_error_indication (b, &error) != 0)
{
err = UPF_GTPU_ERROR_NO_SUCH_TUNNEL;
goto trace;
}
if(0)
{
if (decode_error_indication (b, &error) != 0)
{
err = UPF_GTPU_ERROR_NO_SUCH_TUNNEL;
goto trace;
}
}
//Avoid the problem and solve it later
if(true)
goto trace;
if (ip46_address_is_ip4 (&error.addr))
{
......
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