Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vppinfra: make _vec_len() read-only
[vpp.git]
/
src
/
vnet
/
dpo
/
load_balance_map.c
diff --git
a/src/vnet/dpo/load_balance_map.c
b/src/vnet/dpo/load_balance_map.c
index
5524974
..
765cd85
100644
(file)
--- a/
src/vnet/dpo/load_balance_map.c
+++ b/
src/vnet/dpo/load_balance_map.c
@@
-317,7
+317,7
@@
load_balance_map_fill (load_balance_map_t *lbm)
bucket += lbmp->lbmp_weight;
}
}
-
_vec_len(tmp_buckets) = jj
;
+
vec_set_len (tmp_buckets, jj)
;
/*
* If the number of temporaries written is as many as we need, implying