Skip to content

Commit

Permalink
https://telecominfraproject.atlassian.net/browse/WIFI-7831
Browse files Browse the repository at this point in the history
Signed-off-by: stephb9959 <[email protected]>
  • Loading branch information
stephb9959 committed Sep 15, 2023
1 parent 2542635 commit ebc4fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RADIUS_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ namespace OpenWifi::RADIUS {

inline void AddAttribute(unsigned char attr, uint8_t len, const unsigned char *data) {
P_.attributes[AttributesLen_++] = attr;
P_.attributes[AttributesLen_++] = len;
P_.attributes[AttributesLen_++] = len+2;
memcpy(&P_.attributes[AttributesLen_], data, len);
AttributesLen_ += len;
}
Expand Down

0 comments on commit ebc4fd6

Please sign in to comment.