From 2ed681f5b0df35eaa2684244026919af83004792 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Tue, 17 Jul 2018 07:15:05 -0700 Subject: ip4-input and ip4-input-no-checksum should be siblings each edge/arc from these nodes must be the same. Change-Id: Id5dace61bca0af71ad1df98583425226e81fd0de Signed-off-by: Neale Ranns (cherry picked from commit 8a03e4f97952d84e152f5b17d5325583604c4fd3) --- src/vnet/ip/ip4_input.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/vnet/ip/ip4_input.c b/src/vnet/ip/ip4_input.c index 15c2ebf5609..971445c7cd0 100644 --- a/src/vnet/ip/ip4_input.c +++ b/src/vnet/ip/ip4_input.c @@ -340,17 +340,7 @@ VLIB_REGISTER_NODE (ip4_input_no_checksum_node) = { .name = "ip4-input-no-checksum", .vector_size = sizeof (u32), - .n_next_nodes = IP4_INPUT_N_NEXT, - .next_nodes = { - [IP4_INPUT_NEXT_DROP] = "error-drop", - [IP4_INPUT_NEXT_PUNT] = "error-punt", - [IP4_INPUT_NEXT_OPTIONS] = "ip4-options", - [IP4_INPUT_NEXT_LOOKUP] = "ip4-lookup", - [IP4_INPUT_NEXT_LOOKUP_MULTICAST] = "ip4-mfib-forward-lookup", - [IP4_INPUT_NEXT_ICMP_ERROR] = "ip4-icmp-error", - [IP4_INPUT_NEXT_REASSEMBLY] = "ip4-reassembly", - }, - + .sibling_of = "ip4-input", .format_buffer = format_ip4_header, .format_trace = format_ip4_input_trace, }; -- cgit 1.2.3-korg