diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2015-01-23 07:30:37 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2015-01-23 07:30:37 +0300 |
commit | eb5d6d994eaee487547d75a1e0a07d203f7bafb5 (patch) | |
tree | fdcf1d6f68e0ee5e960f0b4b70b317bb37a6dab5 /accel-pppd | |
parent | a836c882df2cb28d327fc93c5d30b968ca3ee1b0 (diff) | |
download | accel-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.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 a8be7b82..cfaaec40 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 { |