From 735e6f1e66f3aa9a5eeaa851923517a1907039fb Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Thu, 9 Aug 2012 14:44:57 +0400 Subject: ipoe: fixed sending PAP password --- accel-pppd/ctrl/ipoe/ipoe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accel-pppd/ctrl/ipoe/ipoe.c') diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c index 3ba293f..9d6acc1 100644 --- a/accel-pppd/ctrl/ipoe/ipoe.c +++ b/accel-pppd/ctrl/ipoe/ipoe.c @@ -282,7 +282,7 @@ static void ipoe_session_start(struct ipoe_session *ses) ap_session_starting(&ses->ses); - r = pwdb_check(&ses->ses, ses->ses.username, PPP_PAP); + r = pwdb_check(&ses->ses, ses->ses.username, PPP_PAP, ses->ses.username); if (r == PWDB_NO_IMPL) { passwd = pwdb_get_passwd(&ses->ses, ses->ses.username); if (!passwd) -- cgit v1.2.3