From: Frank Cusack Date: Tue, 1 Oct 2002 09:27:50 +0000 (+0000) Subject: Add PW_CALLING_STATION_ID for CHAP auth also. X-Git-Tag: ppp-2.4.7~379 X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=186555a5b841b8ab00ca1ab2b33fdb50f5ac2d07;p=ppp.git Add PW_CALLING_STATION_ID for CHAP auth also. --- diff --git a/pppd/plugins/radius/radius.c b/pppd/plugins/radius/radius.c index 53757ab..1fd2593 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.16 2002/10/01 08:36:49 fcusack Exp $"; +"$Id: radius.c,v 1.17 2002/10/01 09:27:50 fcusack Exp $"; #include "pppd.h" #include "chap.h" @@ -428,7 +428,11 @@ radius_chap_auth(char *user, break; } #endif + } + if (*remote_number) { + rc_avpair_add(&send, PW_CALLING_STATION_ID, remote_number, 0, + VENDOR_NONE); } /* Add user specified vp's */