Fixed missing comma in rlm_detail that leads to the following entries appearing 'Packet-Type = Access-ChallengeStatus-Server'; also fixes the other packet types as the array from that point is off-by-one Signed-off-by: Alexander Clouter <alex@digriz.org.uk> --- src/modules/rlm_detail/rlm_detail.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/modules/rlm_detail/rlm_detail.c b/src/modules/rlm_detail/rlm_detail.c index 685fa72..8c49936 100644 --- a/src/modules/rlm_detail/rlm_detail.c +++ b/src/modules/rlm_detail/rlm_detail.c @@ -45,7 +45,7 @@ static const char *packet_codes[] = { "Password-Accept", "Password-Reject", "Accounting-Message", - "Access-Challenge" + "Access-Challenge", "Status-Server", "Status-Client", "14", -- 1.5.6.5
Alexander Clouter wrote:
Fixed missing comma in rlm_detail that leads to the following entries appearing 'Packet-Type = Access-ChallengeStatus-Server'; also fixes the other packet types as the array from that point is off-by-one
It's simpler to just delete that array entirely. The packet_codes[] array is now a global in lib/radius.c. I've committed a patch to do that. Alan DeKok.
Alan DeKok <aland@deployingradius.com> wrote:
Fixed missing comma in rlm_detail that leads to the following entries appearing 'Packet-Type = Access-ChallengeStatus-Server'; also fixes the other packet types as the array from that point is off-by-one
It's simpler to just delete that array entirely. The packet_codes[] array is now a global in lib/radius.c.
I've committed a patch to do that.
Bah, I was going to knock off that patch tomorrow morning :P Cheers -- Alexander Clouter .sigmonster says: Iron Law of Distribution: Them that has, gets.
participants (2)
-
Alan DeKok -
Alexander Clouter