]> sjero.net Git - wget/commitdiff
[svn] Don't set the IPV6_V6ONLY option on the socket.
authorhniksic <devnull@localhost>
Fri, 12 Dec 2003 14:14:53 +0000 (06:14 -0800)
committerhniksic <devnull@localhost>
Fri, 12 Dec 2003 14:14:53 +0000 (06:14 -0800)
src/ChangeLog
src/connect.c

index 9e7cd444e6cd1be74305909a4d92529eb8e640c4..59811c131e774b755f9d8fb4cfa34a444dadf9f8 100644 (file)
@@ -1,3 +1,8 @@
+2003-12-12  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * connect.c (bind_local): Don't set the IPV6_V6ONLY option on the
+       socket.
+
 2003-12-06  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * url.c (url_file_name): Respect the setting of
index e2bacf40e41f2d24aa7cf2d6da8cd06303b326ca..fd3bbb92a9d778be85b1174efc0acdb94e03b492 100644 (file)
@@ -428,13 +428,6 @@ bind_local (const ip_address *bind_address, int *port)
   setsockopt (sock, SOL_SOCKET, SO_REUSEADDR, setopt_ptr, setopt_size);
 #endif
 
-#ifdef ENABLE_IPV6
-# ifdef HAVE_IPV6_V6ONLY
-  if (family == AF_INET6)
-    setsockopt (sock, IPPROTO_IPV6, IPV6_V6ONLY, setopt_ptr, setopt_size);
-# endif
-#endif
-
   xzero (ss);
   sockaddr_set_data (sa, bind_address, *port);
   if (bind (sock, sa, sockaddr_size (sa)) < 0)