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:
Tobias Brunner 2015-08-28 16:51:05 +02:00
parent 486d7b2671
commit 00c2c87b06
1 changed files with 1 additions and 1 deletions

View File

@ -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,