forked from acouzens/open5gs
FreeBSD IPv6 TUN is not working. IPv6 IP/Rount Setting is all rollbacked
This commit is contained in:
parent
fc9b182e55
commit
cb59525ca4
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue