summaryrefslogtreecommitdiffstats
path: root/src/vnet/dpo/drop_dpo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/dpo/drop_dpo.c')
-rw-r--r--src/vnet/dpo/drop_dpo.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vnet/dpo/drop_dpo.c b/src/vnet/dpo/drop_dpo.c
index 5118d2a45b7..a1821dddfcc 100644
--- a/src/vnet/dpo/drop_dpo.c
+++ b/src/vnet/dpo/drop_dpo.c
@@ -91,12 +91,18 @@ const static char* const drop_ethernet_nodes[] =
"error-drop",
NULL,
};
+const static char* const drop_nsh_nodes[] =
+{
+ "error-drop",
+ NULL,
+};
const static char* const * const drop_nodes[DPO_PROTO_NUM] =
{
[DPO_PROTO_IP4] = drop_ip4_nodes,
[DPO_PROTO_IP6] = drop_ip6_nodes,
[DPO_PROTO_MPLS] = drop_mpls_nodes,
[DPO_PROTO_ETHERNET] = drop_ethernet_nodes,
+ [DPO_PROTO_NSH] = drop_nsh_nodes,
};
void