diff options
author | Dave Barach <dave@barachs.net> | 2019-11-22 17:42:58 -0500 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-11-25 09:09:40 +0000 |
commit | 5f9f3c8de8d5d9f83a437661a98e5cc2453705f9 (patch) | |
tree | da550c1a4c06c65392583f7dfb10b8b73590a8f2 /src/vnet/ethernet | |
parent | da47f67be23ebadc6102d359dd971ca9d9e4e33e (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/ethernet')
-rw-r--r-- | src/vnet/ethernet/arp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ethernet/arp.c b/src/vnet/ethernet/arp.c index a42cfda0d3f..ca9a21cbbd1 100644 --- a/src/vnet/ethernet/arp.c +++ b/src/vnet/ethernet/arp.c @@ -1711,7 +1711,7 @@ VNET_FEATURE_ARC_INIT (arp_feat, static) = { .arc_name = "arp", .start_nodes = VNET_FEATURES ("arp-input"), - .last_in_arc = "arp-disabled", + .last_in_arc = "error-drop", .arc_index_ptr = ðernet_arp_main.feature_arc_index, }; |