Initialize timer
This commit is contained in:
parent
eb7b3a4712
commit
7fdd43658c
1 changed files with 2 additions and 0 deletions
|
@ -292,6 +292,8 @@ void algo_thunder_init(struct evt_core_ctx* ctx, struct algo_ctx* app_ctx, struc
|
|||
union abstract_packet links = {};
|
||||
//fprintf(stderr, "Total links %d\n", thunderc->total_links);
|
||||
thunderc->monit_pkt_size = sizeof(links.fmt.headers) + sizeof(links.fmt.content.link_monitoring_thunder) + sizeof(struct link_info) * (thunderc->total_links - 1);
|
||||
|
||||
init_timer(ctx);
|
||||
}
|
||||
|
||||
int algo_thunder_on_err(struct evt_core_ctx *ctx, struct evt_core_fdinfo *fdinfo) {
|
||||
|
|
Loading…
Reference in a new issue