aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-net_base_network__interfaces__posix.cc
blob: b74d1ed8aa97c57de59870e082a615ea580bef3b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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) {