diff options
author | 2016-10-26 23:50:47 +0200 | |
---|---|---|
committer | 2016-10-26 23:10:59 +0000 | |
commit | e63947e57c3ca09bebad0b54e43bba6c4f0f840c (patch) | |
tree | bad7c87b618cae4b8db156e1e36d8d62b5056d78 /vnet | |
parent | 3977a21495a6c53f79995a48b5ab8d1c9317ca16 (diff) |
features: fix crash due to missing null termination
Change-Id: I98b407f9b698307c5a0007b198a734674b33f925
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vnet')
-rw-r--r-- | vnet/vnet/adj/adj_midchain.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vnet/vnet/adj/adj_midchain.c b/vnet/vnet/adj/adj_midchain.c index c4201553..6afff27e 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], }; |