diff options
author | Paul Atkins <patkins@graphiant.com> | 2021-11-12 13:09:46 +0000 |
---|---|---|
committer | Neale Ranns <neale@graphiant.com> | 2021-11-17 12:42:09 +0000 |
commit | c24198b4233a42b25acfae14d1012e1082fce2cf (patch) | |
tree | 336351daaf6fef65311748decbbad90449d69560 /src/vnet/ip/ip6_punt_drop.c | |
parent | 6563c5b084e2c6a68929ace5f61f77b0d2fe80df (diff) |
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 <patkins@graphiant.com>
Change-Id: I212c25444a81b11d8085ba7930ddb67b47502d5c
Diffstat (limited to 'src/vnet/ip/ip6_punt_drop.c')
-rw-r--r-- | src/vnet/ip/ip6_punt_drop.c | 8 |
1 files changed, 2 insertions, 6 deletions
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) = |