From: Paul Mackerras Date: Sun, 10 Jul 2005 10:28:55 +0000 (+0000) Subject: Return the message from the radius server to the peer. X-Git-Tag: ppp-2.4.7~148 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=1372300c7bb089278ee84fe8376e7f60306a503e;hp=67e53ed830e2e6f881a52518c32f2fa628778018 Return the message from the radius server to the peer. --- diff --git a/pppd/plugins/radius/radius.c b/pppd/plugins/radius/radius.c index c4ef0a5..9fe5e5a 100644 --- a/pppd/plugins/radius/radius.c +++ b/pppd/plugins/radius/radius.c @@ -24,7 +24,7 @@ * ***********************************************************************/ static char const RCSID[] = -"$Id: radius.c,v 1.29 2004/11/15 22:13:26 paulus Exp $"; +"$Id: radius.c,v 1.30 2005/07/10 10:28:55 paulus Exp $"; #include "pppd.h" #include "chap-new.h" @@ -471,6 +471,8 @@ radius_chap_verify(char *user, char *ourname, int id, req_info); } + strlcpy(message, radius_msg, message_space); + if (result == OK_RC) { if (!rstate.done_chap_once) { if (radius_setparams(received, radius_msg, req_info, digest,