summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp/ppp_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ppp/ppp_auth.c')
-rw-r--r--accel-pppd/ppp/ppp_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ppp/ppp_auth.c b/accel-pppd/ppp/ppp_auth.c
index 42bbbc6b..0510358c 100644
--- a/accel-pppd/ppp/ppp_auth.c
+++ b/accel-pppd/ppp/ppp_auth.c
@@ -329,7 +329,7 @@ static void __ppp_auth_started(struct ppp_t *ppp)
log_ppp_info1("%s: authentication succeeded\n", ppp->ses.username);
- triton_event_fire(EV_SES_AUTHORIZED, ppp);
+ triton_event_fire(EV_SES_AUTHORIZED, &ppp->ses);
}
int __export ppp_auth_succeeded(struct ppp_t *ppp, char *username)