Add support for multiple microarchitectures in single binary
[vpp.git] / vnet / vnet / gre / node.c
index 5809c5d..e33b2b0 100644 (file)
@@ -24,8 +24,7 @@
 _(PUNT, "error-punt")                           \
 _(DROP, "error-drop")                           \
 _(IP4_INPUT, "ip4-input")                       \
-_(IP6_INPUT, "ip6-input")                      \
-_(NSH_INPUT, "nsh-input")
+_(IP6_INPUT, "ip6-input")                      
 
 typedef enum {
 #define _(s,n) GRE_INPUT_NEXT_##s,
@@ -435,6 +434,8 @@ VLIB_REGISTER_NODE (gre_input_node) = {
   .unformat_buffer = unformat_gre_header,
 };
 
+VLIB_NODE_FUNCTION_MULTIARCH (gre_input_node, gre_input)
+
 void
 gre_register_input_protocol (vlib_main_t * vm,
                             gre_protocol_t protocol,