aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/net.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2015-12-15 18:28:03 +0100
committerCorinna Vinschen <corinna@vinschen.de>2016-06-25 00:43:01 +0200
commitcb34fffe07e13fc5ccbcc5e9fb7f951eb7d5c2b8 (patch)
tree584f2d700889e27b30429c26d5e5d37973849c8b /winsup/cygwin/net.cc
parentda5b48ef3c39ea68d41a43cfc4379124b67c0812 (diff)
downloadnewlib-cb34fffe07e13fc5ccbcc5e9fb7f951eb7d5c2b8.zip
newlib-cb34fffe07e13fc5ccbcc5e9fb7f951eb7d5c2b8.tar.gz
newlib-cb34fffe07e13fc5ccbcc5e9fb7f951eb7d5c2b8.tar.bz2
Remove CYGWIN=detect_bloda option
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r--winsup/cygwin/net.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc
index bd3e0e3..52b3d98 100644
--- a/winsup/cygwin/net.cc
+++ b/winsup/cygwin/net.cc
@@ -560,18 +560,6 @@ fdsock (cygheap_fdmanip& fd, const device *dev, SOCKET soc)
debug_printf ("WSAIoctl: %u", WSAGetLastError ());
else if (base_soc != soc)
{
- /* LSPs are often BLODAs as well. So we print an info about
- detecting an LSP if BLODA detection is desired. */
- if (detect_bloda)
- {
- WSAPROTOCOL_INFO prot;
-
- memset (&prot, 0, sizeof prot);
- ::getsockopt (soc, SOL_SOCKET, SO_PROTOCOL_INFO, (char *) &prot,
- (size = sizeof prot, &size));
- small_printf ("\n\nPotential BLODA detected! Layered Socket "
- "Service Provider:\n %s\n\n", prot.szProtocol);
- }
if (GetHandleInformation ((HANDLE) base_soc, &flags)
&& (flags & HANDLE_FLAG_INHERIT))
{