summaryrefslogtreecommitdiff
path: root/accel-pppd
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2015-01-23 07:30:37 +0300
committerDmitry Kozlov <xeb@mail.ru>2015-01-23 07:30:37 +0300
commiteb5d6d994eaee487547d75a1e0a07d203f7bafb5 (patch)
treefdcf1d6f68e0ee5e960f0b4b70b317bb37a6dab5 /accel-pppd
parenta836c882df2cb28d327fc93c5d30b968ca3ee1b0 (diff)
downloadaccel-ppp-eb5d6d994eaee487547d75a1e0a07d203f7bafb5.tar.gz
accel-ppp-eb5d6d994eaee487547d75a1e0a07d203f7bafb5.zip
ipoe: fixed authentication with chap-secrets
Diffstat (limited to 'accel-pppd')
-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 a8be7b8..cfaaec4 100644
--- a/accel-pppd/ctrl/ipoe/ipoe.c
+++ b/accel-pppd/ctrl/ipoe/ipoe.c
@@ -633,7 +633,7 @@ static void ipoe_session_start(struct ipoe_session *ses)
return;
if (r == PWDB_NO_IMPL) {
- passwd = pwdb_get_passwd(&ses->ses, ses->ses.username);
+ passwd = pwdb_get_passwd(&ses->ses, username);
if (!passwd)
r = PWDB_DENIED;
else {