X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=vnet%2Fvnet%2Fip%2Fip6_input.c;h=f96a1cfb5a5b11b063672361a30801a0bc61ebd7;hb=9fb87553bec802552f09818c8fa2eab82c5eae92;hp=473b2b2719f164f8b80d3ffad28df94599c1bf46;hpb=92eade1be5b4eefc71481bb4c7044d3ded243b5e;p=vpp.git diff --git a/vnet/vnet/ip/ip6_input.c b/vnet/vnet/ip/ip6_input.c index 473b2b2719f..f96a1cfb5a5 100644 --- a/vnet/vnet/ip/ip6_input.c +++ b/vnet/vnet/ip/ip6_input.c @@ -62,7 +62,7 @@ static u8 * format_ip6_input_trace (u8 * s, va_list * va) typedef enum { IP6_INPUT_NEXT_DROP, IP6_INPUT_NEXT_LOOKUP, - IP6_INPUT_NEXT_ICMP, + IP6_INPUT_NEXT_ICMP_ERROR, IP6_INPUT_N_NEXT, } ip6_input_next_t; @@ -189,7 +189,7 @@ ip6_input (vlib_main_t * vm, if (error0 == IP6_ERROR_TIME_EXPIRED) { icmp6_error_set_vnet_buffer(p0, ICMP6_time_exceeded, ICMP6_time_exceeded_ttl_exceeded_in_transit, 0); - next0 = IP6_INPUT_NEXT_ICMP; + next0 = IP6_INPUT_NEXT_ICMP_ERROR; } else { next0 = IP6_INPUT_NEXT_DROP; } @@ -199,7 +199,7 @@ ip6_input (vlib_main_t * vm, if (error1 == IP6_ERROR_TIME_EXPIRED) { icmp6_error_set_vnet_buffer(p1, ICMP6_time_exceeded, ICMP6_time_exceeded_ttl_exceeded_in_transit, 0); - next1 = IP6_INPUT_NEXT_ICMP; + next1 = IP6_INPUT_NEXT_ICMP_ERROR; } else { next1 = IP6_INPUT_NEXT_DROP; } @@ -262,7 +262,7 @@ ip6_input (vlib_main_t * vm, if (error0 == IP6_ERROR_TIME_EXPIRED) { icmp6_error_set_vnet_buffer(p0, ICMP6_time_exceeded, ICMP6_time_exceeded_ttl_exceeded_in_transit, 0); - next0 = IP6_INPUT_NEXT_ICMP; + next0 = IP6_INPUT_NEXT_ICMP_ERROR; } else { next0 = IP6_INPUT_NEXT_DROP; } @@ -298,7 +298,7 @@ VLIB_REGISTER_NODE (ip6_input_node) = { .next_nodes = { [IP6_INPUT_NEXT_DROP] = "error-drop", [IP6_INPUT_NEXT_LOOKUP] = "ip6-lookup", - [IP6_INPUT_NEXT_ICMP] = "ip6-icmp-error", + [IP6_INPUT_NEXT_ICMP_ERROR] = "ip6-icmp-error", }, .format_buffer = format_ip6_header,