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: refactor clib_timebase_t
[vpp.git]
/
src
/
plugins
/
http_static
/
static_server.c
diff --git
a/src/plugins/http_static/static_server.c
b/src/plugins/http_static/static_server.c
index
ddc8a9e
..
888cf41
100644
(file)
--- a/
src/plugins/http_static/static_server.c
+++ b/
src/plugins/http_static/static_server.c
@@
-1743,7
+1743,8
@@
http_static_server_main_init (vlib_main_t * vm)
hsm->first_index = hsm->last_index = ~0;
clib_timebase_init (&hsm->timebase, 0 /* GMT */ ,
- CLIB_TIMEBASE_DAYLIGHT_NONE);
+ CLIB_TIMEBASE_DAYLIGHT_NONE,
+ &vm->clib_time /* share the system clock */ );
return 0;
}