eap-radius: Fix creation of host_t objects based on Framed-IPv6-Address attributes
Fixes ec490e68ae
("eap-radius: Add support for some basic IPv6-specific RADIUS attributes").
References #1001.
This commit is contained in:
parent
486d7b2671
commit
00c2c87b06
|
@ -521,7 +521,7 @@ static void process_cfg_attributes(radius_message_t *msg)
|
|||
if ((type == RAT_FRAMED_IP_ADDRESS && data.len == 4) ||
|
||||
(type == RAT_FRAMED_IPV6_ADDRESS && data.len == 16))
|
||||
{
|
||||
host = host_create_from_chunk(AF_INET, data, 0);
|
||||
host = host_create_from_chunk(AF_UNSPEC, data, 0);
|
||||
if (host)
|
||||
{
|
||||
provider->add_framed_ip(provider,
|
||||
|
|
Loading…
Reference in New Issue