summaryrefslogtreecommitdiffstats
path: root/nsh-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'nsh-plugin')
-rw-r--r--nsh-plugin/nsh/nsh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nsh-plugin/nsh/nsh.c b/nsh-plugin/nsh/nsh.c
index 9353378..6fb61c4 100644
--- a/nsh-plugin/nsh/nsh.c
+++ b/nsh-plugin/nsh/nsh.c
@@ -21,6 +21,7 @@
#include <vnet/gre/gre.h>
#include <vnet/vxlan/vxlan.h>
#include <vnet/vxlan-gpe/vxlan_gpe.h>
+#include <vnet/l2/l2_classify.h>
#include <vlibapi/api.h>
#include <vlibmemory/api.h>
@@ -1518,6 +1519,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);