diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2017-12-26 20:46:01 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2017-12-26 20:46:06 +0300 |
commit | c767ca5d3c09d8f64dbfa05e86fde1fd5d702083 (patch) | |
tree | db66e2dec5c5a3fdf1a5178782079a40fca4cc74 /accel-pppd/radius | |
parent | b8bf4001c5ae882153acc3a3632281c51662866c (diff) | |
download | accel-ppp-c767ca5d3c09d8f64dbfa05e86fde1fd5d702083.tar.gz accel-ppp-c767ca5d3c09d8f64dbfa05e86fde1fd5d702083.zip |
reworked context priorities
Introduced 4 priorities:
0 - management (cli)
1 - starting sessions (default priority)
2 - active sessions
3 - finishing sessions
Diffstat (limited to 'accel-pppd/radius')
-rw-r--r-- | accel-pppd/radius/serv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/radius/serv.c b/accel-pppd/radius/serv.c index 7372fdc..c067481 100644 --- a/accel-pppd/radius/serv.c +++ b/accel-pppd/radius/serv.c @@ -565,7 +565,7 @@ static void __add_server(struct rad_server_t *s) s->ctx.close = serv_ctx_close; triton_context_register(&s->ctx, NULL); - triton_context_set_priority(&s->ctx, 1); + triton_context_set_priority(&s->ctx, 0); if (conf_acct_on) triton_context_call(&s->ctx, (triton_event_func)send_acct_on, s); triton_context_wakeup(&s->ctx); |