diff options
Diffstat (limited to 'www/chromium/files/patch-third__party_webrtc_base_physicalsocketserver.cc')
-rw-r--r-- | www/chromium/files/patch-third__party_webrtc_base_physicalsocketserver.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/www/chromium/files/patch-third__party_webrtc_base_physicalsocketserver.cc b/www/chromium/files/patch-third__party_webrtc_base_physicalsocketserver.cc index cef0e4687dc6..0ec3782e88cf 100644 --- a/www/chromium/files/patch-third__party_webrtc_base_physicalsocketserver.cc +++ b/www/chromium/files/patch-third__party_webrtc_base_physicalsocketserver.cc @@ -1,6 +1,6 @@ ---- third_party/webrtc/base/physicalsocketserver.cc.orig 2017-01-26 00:50:17 UTC +--- third_party/webrtc/base/physicalsocketserver.cc.orig 2017-03-09 20:05:29 UTC +++ third_party/webrtc/base/physicalsocketserver.cc -@@ -61,7 +61,11 @@ typedef void* SockOptArg; +@@ -62,7 +62,11 @@ typedef void* SockOptArg; int64_t GetSocketRecvTimestamp(int socket) { struct timeval tv_ioctl; @@ -12,7 +12,7 @@ if (ret != 0) return -1; int64_t timestamp = -@@ -274,7 +278,7 @@ int PhysicalSocket::GetOption(Option opt +@@ -275,7 +279,7 @@ int PhysicalSocket::GetOption(Option opt socklen_t optlen = sizeof(*value); int ret = ::getsockopt(s_, slevel, sopt, (SockOptArg)value, &optlen); if (ret != -1 && opt == OPT_DONTFRAGMENT) { @@ -21,7 +21,7 @@ *value = (*value != IP_PMTUDISC_DONT) ? 1 : 0; #endif } -@@ -287,7 +291,7 @@ int PhysicalSocket::SetOption(Option opt +@@ -288,7 +292,7 @@ int PhysicalSocket::SetOption(Option opt if (TranslateOption(opt, &slevel, &sopt) == -1) return -1; if (opt == OPT_DONTFRAGMENT) { @@ -30,7 +30,7 @@ value = (value) ? IP_PMTUDISC_DO : IP_PMTUDISC_DONT; #endif } -@@ -569,10 +573,10 @@ int PhysicalSocket::TranslateOption(Opti +@@ -570,10 +574,10 @@ int PhysicalSocket::TranslateOption(Opti *slevel = IPPROTO_IP; *sopt = IP_DONTFRAGMENT; break; |