Daniel-Constantin Mierla writes:
OK, thanks for testing and feedback! Have you also
tried for tcp/tls?
Yes, with this kind of code in tcp_main.c:
} else if(sock_info->address.af==AF_INET6){
if (setsockopt(sock_info->socket, IPPROTO_IPV6, IPV6_TCLASS,
(void*)&optval, sizeof(optval)) ==-1) {
LM_WARN("setsockopt v6 tos: %s (%d)\n", strerror(errno), tos);
/* continue since this is not critical */
}
LM_INFO("Setting scope of %s\n", sock_info->address_str.s);
addr->sin6.sin6_scope_id =
ipv6_get_netif_scope(sock_info->address_str.s);
}
-- Juha