Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: ee0467ef6e943e44e044f4b5a0593200fdc40db5 https://github.com/OpenSIPS/opensips/commit/ee0467ef6e943e44e044f4b5a0593200fdc40db5 Author: Maksym Sobolyev <sobo...@sippysoft.com> Date: 2023-03-07 (Tue, 07 Mar 2023)
Changed paths: M net/net_tcp.c Log Message: ----------- Fix what seems to be a typo, calling sockaddru_len() on unitialized local structure is likely to produce bogus result causing getsockname() to fail silently and produce no useable address. This error has been masked on Linux, since Linux has no sa_len structure and the sockaddru_len() in that case defaults to sizeof(struct sockaddr_in) unless local_su happens to have s.sa_family==AF_INET6. This however means that IPv6 has been somewhat broken for TCP & TLS. _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel