[PATCH V2 2/6] NaCl: Disable IPV6_PATHMTU getsockopt() call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Unfortunately this feature is not yet supported under NaCl, and it
results in a compile error.

Signed-off-by: Kevin Cernekee <cernekee at gmail.com>
---
 dtls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dtls.c b/dtls.c
index 3b9cbbe7a5bb..a8752552039c 100644
--- a/dtls.c
+++ b/dtls.c
@@ -1265,7 +1265,7 @@ static int detect_mtu_ipv6(struct openconnect_info *vpninfo, unsigned char *buf)
 		break;
 	} while(max_resends-- > 0);
 
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(__native_client__)
 	/* If we received back our DPD packet, do nothing; otherwise,
 	 * attempt to get MTU from the ICMP6 packet we received */
 	if (ret <= 0) {
-- 
2.8.1




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux