diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2012-08-09 14:44:57 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-08-09 14:44:57 +0400 |
commit | 735e6f1e66f3aa9a5eeaa851923517a1907039fb (patch) | |
tree | 61421f0aa65709ea1853d86e238a957bdfcd7c96 /accel-pppd/ctrl/ipoe/ipoe.c | |
parent | ecd9479aefcd0fa3eb51d2885f3b874448ec8a5c (diff) | |
download | accel-ppp-735e6f1e66f3aa9a5eeaa851923517a1907039fb.tar.gz accel-ppp-735e6f1e66f3aa9a5eeaa851923517a1907039fb.zip |
ipoe: fixed sending PAP password
Diffstat (limited to 'accel-pppd/ctrl/ipoe/ipoe.c')
-rw-r--r-- | accel-pppd/ctrl/ipoe/ipoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |