mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
12 lines
370 B
Diff
12 lines
370 B
Diff
|
--- a/services/listen_dnsport.c 2020-11-16 20:07:44.494582149 -0400
|
||
|
+++ b/services/listen_dnsport.c 2020-11-16 20:07:31.074585943 -0400
|
||
|
@@ -533,7 +533,7 @@
|
||
|
return -1;
|
||
|
}
|
||
|
}
|
||
|
-# elif defined(IP_DONTFRAG)
|
||
|
+# elif defined(IP_DONTFRAG) && !defined(__APPLE__)
|
||
|
int off = 0;
|
||
|
if (setsockopt(s, IPPROTO_IP, IP_DONTFRAG,
|
||
|
&off, (socklen_t)sizeof(off)) < 0) {
|