Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
mroute routers in the stats segment
[vpp.git]
/
src
/
vnet
/
dpo
/
replicate_dpo.c
diff --git
a/src/vnet/dpo/replicate_dpo.c
b/src/vnet/dpo/replicate_dpo.c
index
95d7f97
..
8c8206c
100644
(file)
--- a/
src/vnet/dpo/replicate_dpo.c
+++ b/
src/vnet/dpo/replicate_dpo.c
@@
-59,7
+59,12
@@
replicate_t *replicate_pool;
/**
* The one instance of replicate main
*/
/**
* The one instance of replicate main
*/
-replicate_main_t replicate_main;
+replicate_main_t replicate_main = {
+ .repm_counters = {
+ .name = "mroutes",
+ .stat_segment_name = "/net/mroute",
+ },
+};
static inline index_t
replicate_get_index (const replicate_t *rep)
static inline index_t
replicate_get_index (const replicate_t *rep)