ipsec: changed ipsec-input-ip6 node to be a sibling of ipsec-input-ip4, fixes a probl... 96/5396/2
authorRadu Nicolau <radu.nicolau@intel.com>
Thu, 16 Feb 2017 13:43:41 +0000 (13:43 +0000)
committerDamjan Marion <dmarion.lists@gmail.com>
Fri, 17 Feb 2017 16:30:26 +0000 (16:30 +0000)
Change-Id: I1f0c0db45b2aabc243dd785c8d5d5ef990cac903
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
src/vnet/ipsec/ipsec_input.c

index deaa7b7..f27058b 100644 (file)
@@ -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* */