From 6c646d10a943617c1d49adebe9467ffe680e82fc Mon Sep 17 00:00:00 2001 From: Hongjun Ni Date: Wed, 18 Jan 2017 23:32:27 +0800 Subject: Insert nsh-classifier as a next node into l2-input-classifier statically. NSHSFC-20 Change-Id: I77b04c804e9c4e6dd96e7f4ffee88fff8a018aeb Signed-off-by: Hongjun Ni --- nsh-plugin/nsh/nsh.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nsh-plugin') diff --git a/nsh-plugin/nsh/nsh.c b/nsh-plugin/nsh/nsh.c index d7d799b..46a651a 100644 --- a/nsh-plugin/nsh/nsh.c +++ b/nsh-plugin/nsh/nsh.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include @@ -1517,6 +1518,7 @@ clib_error_t *nsh_init (vlib_main_t *vm) /* Add NSH-Classifier support */ vlib_node_add_next (vm, ip4_classify_node.index, nsh_classifier_node.index); vlib_node_add_next (vm, ip6_classify_node.index, nsh_classifier_node.index); + vlib_node_add_next (vm, l2_input_classify_node.index, nsh_classifier_node.index); vec_free(name); -- cgit 1.2.3-korg