]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Remove commented-out code.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Sat, 21 Dec 2013 17:39:24 +0000 (17:39 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Sat, 21 Dec 2013 17:39:24 +0000 (17:39 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11481 a1ca3aef-8c08-0410-bb20-df032aa958be

scheduler/client.c

index 8a36a08621f08e5b8f33b29e7fb23d0797513a7f..1e277881502dc3a0aca3f634c0cc44cee9265dc0 100644 (file)
@@ -147,22 +147,6 @@ cupsdAcceptClient(cupsd_listener_t *lis)/* I - Listener socket */
 
   con->clientaddr = lis->address;
 
-#if 0 /* ifdef AF_INET6 */
- /* FIXME: I don't believe this is recommended any longer, and we specifically
-  *        disable IPv4-over-IPv6 when we listen...
-  */
- /*
-  * Convert IPv4 over IPv6 addresses (::ffff:n.n.n.n) to IPv4 forms we
-  * can more easily use...
-  */
-
-  if (lis->address.addr.sa_family == AF_INET6 &&
-      httpGetAddress(con->http)->ipv6.sin6_addr.s6_addr32[0] == 0 &&
-      httpGetAddress(con->http)->ipv6.sin6_addr.s6_addr32[1] == 0 &&
-      ntohl(httpGetAddress(con->http)->ipv6.sin6_addr.s6_addr32[2]) == 0xffff)
-    httpGetAddress(con->http)->ipv6.sin6_addr.s6_addr32[2] = 0;
-#endif /* AF_INET6 */
-
  /*
   * Check the number of clients on the same address...
   */
@@ -2274,7 +2258,7 @@ cupsdSendError(cupsd_client_t *con,       /* I - Connection */
 
     if (!cupsdSendHeader(con, code, "text/html", auth_type))
       return (0);
-    
+
     if (httpWrite2(con->http, message, length) < 0)
       return (0);