Add missing categories
This commit is contained in:
parent
30c63ce603
commit
e1084026b0
1 changed files with 2 additions and 0 deletions
|
@ -234,11 +234,13 @@ void register_categories(struct evt_core_ctx* evts, struct measlat_ctx* mctx) {
|
|||
template.err_cb = on_socks5_failed_measlat;
|
||||
template.name = "socks5-success";
|
||||
template.flags = EPOLLET;
|
||||
evt_core_add_cat(evts, &template);
|
||||
|
||||
template.cb = on_socks5_failed_measlat;
|
||||
template.err_cb = on_socks5_failed_measlat;
|
||||
template.name = "socks5-failed";
|
||||
template.flags = EPOLLET;
|
||||
evt_core_add_cat(evts, &template);
|
||||
|
||||
socks5_init(evts);
|
||||
printf("--- Categories registered\n");
|
||||
|
|
Loading…
Reference in a new issue