From: Radu Nicolau Date: Thu, 16 Feb 2017 13:43:41 +0000 (+0000) Subject: ipsec: changed ipsec-input-ip6 node to be a sibling of ipsec-input-ip4, fixes a probl... X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=52a047a822242216247a97988ee5ffb329ef9f48;p=vpp.git ipsec: changed ipsec-input-ip6 node to be a sibling of ipsec-input-ip4, fixes a problem that occurs with cryptodev ipv6 input. Change-Id: I1f0c0db45b2aabc243dd785c8d5d5ef990cac903 Signed-off-by: Radu Nicolau --- diff --git a/src/vnet/ipsec/ipsec_input.c b/src/vnet/ipsec/ipsec_input.c index deaa7b7b165..f27058bb778 100644 --- a/src/vnet/ipsec/ipsec_input.c +++ b/src/vnet/ipsec/ipsec_input.c @@ -416,12 +416,7 @@ VLIB_REGISTER_NODE (ipsec_input_ip6_node,static) = { .n_errors = ARRAY_LEN(ipsec_input_error_strings), .error_strings = ipsec_input_error_strings, - .n_next_nodes = IPSEC_INPUT_N_NEXT, - .next_nodes = { -#define _(s,n) [IPSEC_INPUT_NEXT_##s] = n, - foreach_ipsec_input_next -#undef _ - }, + .sibling_of = "ipsec-input-ip4", }; /* *INDENT-ON* */