]> git.pld-linux.org Git - packages/pjproject.git/blame - 0003-r5403-pjsip_IPV6_V6ONLY.patch
disable PJ_HASH_USE_OWN_TOLOWER, as Digium recommends
[packages/pjproject.git] / 0003-r5403-pjsip_IPV6_V6ONLY.patch
CommitLineData
14efab78
JK
1--- a/pjlib/src/pj/sock_bsd.c
2+++ b/pjlib/src/pj/sock_bsd.c
3@@ -539,6 +539,10 @@
4 pj_sock_setsockopt(*sock, pj_SOL_SOCKET(), pj_SO_NOSIGPIPE(),
5 &val, sizeof(val));
6 }
7+ if (af != PJ_AF_INET) { /* Linux Kernel 2.4.21; June 2003 */
8+ pj_sock_setsockopt(*sock, PJ_SOL_IPV6, IPV6_V6ONLY,
9+ &val, sizeof(val));
10+ }
11 #if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \
12 PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0
13 if (type == pj_SOCK_DGRAM()) {
This page took 0.06444 seconds and 4 git commands to generate.