Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
ip: fix ip table allocation randomness
[vpp.git]
/
src
/
vnet
/
ip
/
ip_api.c
diff --git
a/src/vnet/ip/ip_api.c
b/src/vnet/ip/ip_api.c
index
f5ebd02
..
b5f3e93
100644
(file)
--- a/
src/vnet/ip/ip_api.c
+++ b/
src/vnet/ip/ip_api.c
@@
-608,7
+608,7
@@
u32
ip_table_get_unused_id (fib_protocol_t fproto)
{
int i, j;
-
u32 seed = random_default_seed ()
;
+
static u32 seed = 0
;
/* limit to 1M tries */
for (j = 0; j < 1 << 10; j++)
{