diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2013-07-24 15:37:29 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2013-07-24 15:37:29 +0400 |
commit | ca2e87fc65cc1b275b127ccee72e51b541b667bb (patch) | |
tree | 25c98d7446684c2b66a51bc174f534ed2d94bbc0 /accel-pppd/ctrl | |
parent | 18a593209b5329f042f85a44e446c5b245df473e (diff) | |
download | accel-ppp-ca2e87fc65cc1b275b127ccee72e51b541b667bb.tar.gz accel-ppp-ca2e87fc65cc1b275b127ccee72e51b541b667bb.zip |
ipoe: add missing EV_SES_AUTHORIZED event firing
Diffstat (limited to 'accel-pppd/ctrl')
-rw-r--r-- | accel-pppd/ctrl/ipoe/ipoe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c index f605f2f..bafde68 100644 --- a/accel-pppd/ctrl/ipoe/ipoe.c +++ b/accel-pppd/ctrl/ipoe/ipoe.c @@ -427,6 +427,9 @@ static void ipoe_session_start(struct ipoe_session *ses) } } + log_ppp_info1("%s: authentication succeeded\n", ses->ses.username); + triton_event_fire(EV_SES_AUTHORIZED, &ses->ses); + if (ses->serv->opt_nat) ses->ses.ipv4 = ipdb_get_ipv4(&ses->ses); |