Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
gbp: add anonymous l3-out external interfaces
[vpp.git]
/
src
/
plugins
/
gbp
/
gbp_classify.c
diff --git
a/src/plugins/gbp/gbp_classify.c
b/src/plugins/gbp/gbp_classify.c
index
5735f35
..
255db25
100644
(file)
--- a/
src/plugins/gbp/gbp_classify.c
+++ b/
src/plugins/gbp/gbp_classify.c
@@
-49,6
+49,14
@@
gbp_src_classify_init (vlib_main_t * vm)
l2input_get_feat_names (),
em->l2_input_feat_next[GBP_SRC_CLASSIFY_LPM]);
l2input_get_feat_names (),
em->l2_input_feat_next[GBP_SRC_CLASSIFY_LPM]);
+ node = vlib_get_node_by_name (vm, (u8 *) "l2-gbp-lpm-anon-classify");
+ feat_bitmap_init_next_nodes (vm,
+ node->index,
+ L2INPUT_N_FEAT,
+ l2input_get_feat_names (),
+ em->l2_input_feat_next
+ [GBP_SRC_CLASSIFY_LPM_ANON]);
+
return 0;
}
return 0;
}