FreeBSD IPv6 TUN is not working. IPv6 IP/Rount Setting is all rollbacked

This commit is contained in:
Sukchan Lee 2017-12-14 07:26:32 +09:00
parent fc9b182e55
commit cb59525ca4
1 changed files with 6 additions and 1 deletions

View File

@ -361,10 +361,15 @@ status_t tun_set_ip(sock_id id, const char *ipstr, const char *mask_or_numbits)
{
rv = tun_set_ipv4(id, &ipaddr, &ipsub);
}
else
else if (ipsub.family == AF_INET6)
{
#if 0
rv = tun_set_ipv6(id, &ipaddr, &ipsub);
#endif
return CORE_OK;
}
else
d_assert(0, return CORE_ERROR,);
return rv;
}