RADIUS hook issue? Duplicated attributes in RADIUS requests after reloading config
Itay Rozenburg reports to us:
Greetings Support
I think I found a bug in the radius hook.
When I reload the configuration via rest api, The radius requests looks weird, You can see Some of the attributes twice in each request. Access-Request (1), id: 0x54, Authenticator: **** User-Name Attribute (1), length: 20, Value: xxxyyy User-Password Attribute (2), length: 18, Value: *** User-Password Attribute (2), length: 18, Value: *** Calling-Station-Id Attribute (31), length: 19, Value: aa:bb:cc:dd:ee:ff NAS-Identifier Attribute (32), length: 5, Value: kea NAS-Identifier Attribute (32), length: 5, Value: kea Connect-Info Attribute (77), length: 41, Value: xxx Connect-Info Attribute (77), length: 41, Value: xxx NAS-Port Attribute (5), length: 6, Value: 1480 NAS-IP-Address Attribute (4), length: 6, Value: 10.1.1.1
If I reload the process everything looks fine.