Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vlib: autogenerate <node> before <last-in-arc> constraints
[vpp.git]
/
src
/
vnet
/
ethernet
/
arp.c
diff --git
a/src/vnet/ethernet/arp.c
b/src/vnet/ethernet/arp.c
index
86ad9f3
..
ca9a21c
100644
(file)
--- a/
src/vnet/ethernet/arp.c
+++ b/
src/vnet/ethernet/arp.c
@@
-1730,10
+1730,17
@@
VNET_FEATURE_INIT (arp_proxy_feat_node, static) =
.runs_before = VNET_FEATURES ("arp-disabled"),
};
.runs_before = VNET_FEATURES ("arp-disabled"),
};
-VNET_FEATURE_INIT (arp_d
rop
_feat_node, static) =
+VNET_FEATURE_INIT (arp_d
isabled
_feat_node, static) =
{
.arc_name = "arp",
.node_name = "arp-disabled",
{
.arc_name = "arp",
.node_name = "arp-disabled",
+ .runs_before = VNET_FEATURES ("error-drop"),
+};
+
+VNET_FEATURE_INIT (arp_drop_feat_node, static) =
+{
+ .arc_name = "arp",
+ .node_name = "error-drop",
.runs_before = 0, /* last feature */
};
.runs_before = 0, /* last feature */
};