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 0ec3782..a0fd729 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-03-09 20:05:29 UTC +--- third_party/webrtc/base/physicalsocketserver.cc.orig 2017-04-19 19:07:52 UTC +++ third_party/webrtc/base/physicalsocketserver.cc -@@ -62,7 +62,11 @@ typedef void* SockOptArg; +@@ -61,7 +61,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 = -@@ -275,7 +279,7 @@ int PhysicalSocket::GetOption(Option opt +@@ -302,7 +306,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 } -@@ -288,7 +292,7 @@ int PhysicalSocket::SetOption(Option opt +@@ -315,7 +319,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 } -@@ -570,10 +574,10 @@ int PhysicalSocket::TranslateOption(Opti +@@ -597,10 +601,10 @@ int PhysicalSocket::TranslateOption(Opti *slevel = IPPROTO_IP; *sopt = IP_DONTFRAGMENT; break; |