aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-net_base_network__interfaces__posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-net_base_network__interfaces__posix.cc')
-rw-r--r--www/chromium/files/patch-net_base_network__interfaces__posix.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/chromium/files/patch-net_base_network__interfaces__posix.cc b/www/chromium/files/patch-net_base_network__interfaces__posix.cc
new file mode 100644
index 000000000000..b74d1ed8aa97
--- /dev/null
+++ b/www/chromium/files/patch-net_base_network__interfaces__posix.cc
@@ -0,0 +1,18 @@
+--- net/base/network_interfaces_posix.cc.orig 2016-05-11 19:02:24 UTC
++++ net/base/network_interfaces_posix.cc
+@@ -20,6 +20,7 @@ namespace net {
+ #if !defined(OS_NACL)
+ namespace internal {
+
++#if !defined(OS_BSD)
+ // The application layer can pass |policy| defined in net_util.h to
+ // request filtering out certain type of interfaces.
+ bool ShouldIgnoreInterface(const std::string& name, int policy) {
+@@ -33,6 +34,7 @@ bool ShouldIgnoreInterface(const std::st
+
+ return false;
+ }
++#endif
+
+ // Check if the address is unspecified (i.e. made of zeroes) or loopback.
+ bool IsLoopbackOrUnspecifiedAddress(const sockaddr* addr) {