summaryrefslogtreecommitdiff
path: root/accel-pptpd/radius/auth.c
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2010-09-13 01:19:42 +0400
committerDmitry Kozlov <xeb@mail.ru>2010-09-13 01:19:42 +0400
commitf39fda2ddb7a8b80a33f155994f27794dd84a198 (patch)
tree1e13a8f658504a0f0e4f1cd2a0cf26d9f0d1dcec /accel-pptpd/radius/auth.c
parent65a665f6c655766a6d990e8aba47a811d0c3fecc (diff)
downloadaccel-ppp-f39fda2ddb7a8b80a33f155994f27794dd84a198.tar.gz
accel-ppp-f39fda2ddb7a8b80a33f155994f27794dd84a198.zip
log_pgsql: fixed bug - msg->tpd is uninitialized when general_log is called
radius: upgraded dictionary to support vendor-specific
Diffstat (limited to 'accel-pptpd/radius/auth.c')
-rw-r--r--accel-pptpd/radius/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pptpd/radius/auth.c b/accel-pptpd/radius/auth.c
index e2d2478..5792b8f 100644
--- a/accel-pptpd/radius/auth.c
+++ b/accel-pptpd/radius/auth.c
@@ -60,7 +60,7 @@ int rad_auth_pap(struct radius_pd_t *rpd, const char *username, va_list args)
if (!epasswd)
goto out;
- if (rad_packet_add_octets(req->pack, "Password", epasswd, epasswd_len)) {
+ if (rad_packet_add_octets(req->pack, "User-Password", epasswd, epasswd_len)) {
free(epasswd);
goto out;
}