From 186555a5b841b8ab00ca1ab2b33fdb50f5ac2d07 Mon Sep 17 00:00:00 2001 From: Frank Cusack Date: Tue, 1 Oct 2002 09:27:50 +0000 Subject: [PATCH] Add PW_CALLING_STATION_ID for CHAP auth also. --- pppd/plugins/radius/radius.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 */ -- 2.39.2