initial support for IPv6 (more testing needed)
socket works (without v6 filter)
traffic selector handle IPv4/v4 cleanly
improvements in traffic selector code
kernel interface accepts v6 traffic selectors and hosts
host_t class has full IPv6 support
This commit is contained in:
@@ -149,6 +149,15 @@ static status_t verify(private_traffic_selector_substructure_t *this)
|
||||
break;
|
||||
}
|
||||
case TS_IPV6_ADDR_RANGE:
|
||||
{
|
||||
if ((this->starting_address.len != 16) ||
|
||||
(this->ending_address.len != 16))
|
||||
{
|
||||
/* ipv6 address must be 16 bytes long */
|
||||
return FAILED;
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
/* not supported ts type */
|
||||
|
||||
Reference in New Issue
Block a user