summaryrefslogtreecommitdiffstats
path: root/src/vnet/feature/feature.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-11-22 17:42:58 -0500
committerNeale Ranns <nranns@cisco.com>2019-11-25 09:09:40 +0000
commit5f9f3c8de8d5d9f83a437661a98e5cc2453705f9 (patch)
treeda550c1a4c06c65392583f7dfb10b8b73590a8f2 /src/vnet/feature/feature.h
parentda47f67be23ebadc6102d359dd971ca9d9e4e33e (diff)
vlib: autogenerate <node> before <last-in-arc> constraints
If an arc declaration includes '.last_in_arc = "some-node"', assume that folks mean it and add explicit ordering constraints. Fix the "arp" arc declaration which claimed that the arc ends at arp-disabled, but the arc really ends at error-drop. Type: fix Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: Ie2de1fb30091671cbc7c62770903a2e05987f141
Diffstat (limited to 'src/vnet/feature/feature.h')
-rw-r--r--src/vnet/feature/feature.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/feature/feature.h b/src/vnet/feature/feature.h
index 6e3401897f4..ef5f4c6ad7d 100644
--- a/src/vnet/feature/feature.h
+++ b/src/vnet/feature/feature.h
@@ -446,6 +446,7 @@ clib_error_t *vnet_feature_arc_init
vnet_config_main_t * vcm,
char **feature_start_nodes,
int num_feature_start_nodes,
+ char *last_in_arc,
vnet_feature_registration_t * first_reg,
vnet_feature_constraint_registration_t * first_const_set,
char ***in_feature_nodes);