blob: 8f4d7d71c0c79bec1e8e99551c05637307338cf6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- net/socket/udp_socket_posix.cc.orig 2022-03-25 21:59:56 UTC
+++ net/socket/udp_socket_posix.cc
@@ -574,7 +574,7 @@ int UDPSocketPosix::SetDoNotFragment() {
}
void UDPSocketPosix::SetMsgConfirm(bool confirm) {
-#if !BUILDFLAG(IS_APPLE)
+#if !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_BSD)
if (confirm) {
sendto_flags_ |= MSG_CONFIRM;
} else {
|