From: Paul Atkins Date: Fri, 12 Nov 2021 13:09:46 +0000 (+0000) Subject: ip6: ip6_not_enabled_node is a sibling of ip6-drop X-Git-Tag: v22.06-rc0~232 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=c24198b4233a42b25acfae14d1012e1082fce2cf;p=vpp.git ip6: ip6_not_enabled_node is a sibling of ip6-drop The node ip6_not_enabled should be marked as sibling of ip6-drop as both are start nodes of the ip6-drop arc. Type: fix Signed-off-by: Paul Atkins Change-Id: I212c25444a81b11d8085ba7930ddb67b47502d5c --- diff --git a/src/vnet/ip/ip6_punt_drop.c b/src/vnet/ip/ip6_punt_drop.c index 4edb673c3fa..ab5203d3d6d 100644 --- a/src/vnet/ip/ip6_punt_drop.c +++ b/src/vnet/ip/ip6_punt_drop.c @@ -146,15 +146,11 @@ VLIB_REGISTER_NODE (ip6_drop_node) = }, }; -VLIB_REGISTER_NODE (ip6_not_enabled_node) = -{ +VLIB_REGISTER_NODE (ip6_not_enabled_node) = { .name = "ip6-not-enabled", .vector_size = sizeof (u32), .format_trace = format_ip6_forward_next_trace, - .n_next_nodes = 1, - .next_nodes = { - [0] = "error-drop", - }, + .sibling_of = "ip6-drop", }; VLIB_REGISTER_NODE (ip6_punt_node) =