From 177deb8cd2a56f41436153b4ac3089cd48f69d56 Mon Sep 17 00:00:00 2001 From: stephb9959 Date: Fri, 20 Oct 2023 11:32:04 -0700 Subject: [PATCH] https://telecominfraproject.atlassian.net/browse/WIFI-12692 Signed-off-by: stephb9959 --- src/RADIUS_helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RADIUS_helpers.h b/src/RADIUS_helpers.h index 09f0878c..fea5e955 100644 --- a/src/RADIUS_helpers.h +++ b/src/RADIUS_helpers.h @@ -1021,7 +1021,7 @@ namespace OpenWifi::RADIUS { auto digest = H.digest(); int p = 0; for (const auto &i : digest) - P_.attributes[1 + 1 + p++] = i; + P_.attributes[8 + 1 + 1 + p++] = i; } inline void AddAttribute(unsigned char attr, uint8_t len, const unsigned char *data) {