summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/ipoe/ipoe.c
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2012-08-09 14:44:57 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-08-09 14:44:57 +0400
commit735e6f1e66f3aa9a5eeaa851923517a1907039fb (patch)
tree61421f0aa65709ea1853d86e238a957bdfcd7c96 /accel-pppd/ctrl/ipoe/ipoe.c
parentecd9479aefcd0fa3eb51d2885f3b874448ec8a5c (diff)
downloadaccel-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.c2
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)