aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-net_base_network__interfaces__posix.cc
blob: 9231d12f8196d51b7988617b36a76ba258141ac2 (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	2017-01-26 00:49:16 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) {