From e63947e57c3ca09bebad0b54e43bba6c4f0f840c Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Wed, 26 Oct 2016 23:50:47 +0200 Subject: features: fix crash due to missing null termination Change-Id: I98b407f9b698307c5a0007b198a734674b33f925 Signed-off-by: Damjan Marion --- vnet/vnet/adj/adj_midchain.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'vnet') diff --git a/vnet/vnet/adj/adj_midchain.c b/vnet/vnet/adj/adj_midchain.c index c420155320d..6afff27ec49 100644 --- a/vnet/vnet/adj/adj_midchain.c +++ b/vnet/vnet/adj/adj_midchain.c @@ -262,42 +262,42 @@ VLIB_REGISTER_NODE (adj_midchain_tx_no_count_node, static) = { VNET_IP4_TX_FEATURE_INIT (adj_midchain_tx_ip4, static) = { .node_name = "adj-midchain-tx", - .runs_before = ORDER_CONSTRAINTS {"interface-output"}, + .runs_before = ORDER_CONSTRAINTS {"interface-output", 0}, .feature_index = &adj_midchain_tx_feature_node[VNET_LINK_IP4], }; VNET_IP4_TX_FEATURE_INIT (adj_midchain_tx_no_count_ip4, static) = { .node_name = "adj-midchain-tx-no-count", - .runs_before = ORDER_CONSTRAINTS {"interface-output"}, + .runs_before = ORDER_CONSTRAINTS {"interface-output", 0}, .feature_index = &adj_midchain_tx_no_count_feature_node[VNET_LINK_IP4], }; VNET_IP6_TX_FEATURE_INIT (adj_midchain_tx_ip6, static) = { .node_name = "adj-midchain-tx", - .runs_before = ORDER_CONSTRAINTS {"interface-output"}, + .runs_before = ORDER_CONSTRAINTS {"interface-output", 0}, .feature_index = &adj_midchain_tx_feature_node[VNET_LINK_IP6], }; VNET_IP6_TX_FEATURE_INIT (adj_midchain_tx_no_count_ip6, static) = { .node_name = "adj-midchain-tx-no-count", - .runs_before = ORDER_CONSTRAINTS {"interface-output"}, + .runs_before = ORDER_CONSTRAINTS {"interface-output", 0}, .feature_index = &adj_midchain_tx_no_count_feature_node[VNET_LINK_IP6], }; VNET_MPLS_TX_FEATURE_INIT (adj_midchain_tx_mpls, static) = { .node_name = "adj-midchain-txs", - .runs_before = ORDER_CONSTRAINTS {"interface-output"}, + .runs_before = ORDER_CONSTRAINTS {"interface-output", 0}, .feature_index = &adj_midchain_tx_feature_node[VNET_LINK_MPLS], }; VNET_MPLS_TX_FEATURE_INIT (adj_midchain_tx_no_count_mpls, static) = { .node_name = "adj-midchain-tx-no-count", - .runs_before = ORDER_CONSTRAINTS {"interface-output"}, + .runs_before = ORDER_CONSTRAINTS {"interface-output", 0}, .feature_index = &adj_midchain_tx_no_count_feature_node[VNET_LINK_MPLS], }; VNET_ETHERNET_TX_FEATURE_INIT (adj_midchain_tx_ethernet, static) = { .node_name = "adj-midchain-tx", - .runs_before = ORDER_CONSTRAINTS {"error-drop"}, + .runs_before = ORDER_CONSTRAINTS {"error-drop", 0}, .feature_index = &adj_midchain_tx_feature_node[VNET_LINK_ETHERNET], }; VNET_ETHERNET_TX_FEATURE_INIT (adj_midchain_tx_no_count_ethernet, static) = { .node_name = "adj-midchain-tx-no-count", - .runs_before = ORDER_CONSTRAINTS {"error-drop"}, + .runs_before = ORDER_CONSTRAINTS {"error-drop", 0}, .feature_index = &adj_midchain_tx_no_count_feature_node[VNET_LINK_ETHERNET], }; -- cgit 1.2.3-korg