aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec/ipsec_input.c
diff options
context:
space:
mode:
authorRadu Nicolau <radu.nicolau@intel.com>2017-02-16 13:43:41 +0000
committerDamjan Marion <dmarion.lists@gmail.com>2017-02-17 16:30:26 +0000
commit52a047a822242216247a97988ee5ffb329ef9f48 (patch)
tree0cb4ff53ca1361116341f787a4dced3fc1c7c295 /src/vnet/ipsec/ipsec_input.c
parent681abe46c9ea30e5c386db74c997714433470c4c (diff)
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 <radu.nicolau@intel.com>
Diffstat (limited to 'src/vnet/ipsec/ipsec_input.c')
-rw-r--r--src/vnet/ipsec/ipsec_input.c7
1 files changed, 1 insertions, 6 deletions
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* */