Re: [MOD] STR #4302: HostNameLookups value not honored when printer is shared

Michael Sweet <[email protected]> Thu, 28 Mar 2013 04:15:12 -0700 (PDT)
Newsgroups gmane.comp.printing.cups.bugs
Message-ID <[email protected]>

--PART-BOUNDARY
Content-Type: text/plain

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Closed w/Resolution]

Fixed in Subversion repository.

Link: https://www.cups.org/str.php?L4302
Version: 1.6.2
Fix Version: 1.7-current (r10925)
--PART-BOUNDARY
Content-Type: text/plain
Content-Disposition: attachment; filename="str4302.patch"

Index: scheduler/client.c
===================================================================
--- scheduler/client.c	(revision 10924)
+++ scheduler/client.c	(working copy)
@@ -436,7 +436,7 @@
   {
     if (httpAddrLocalhost(&temp))
       strlcpy(con->servername, "localhost", sizeof(con->servername));
-    else if (HostNameLookups || RemotePort)
+    else if (HostNameLookups)
       httpAddrLookup(&temp, con->servername, sizeof(con->servername));
     else
       httpAddrString(&temp, con->servername, sizeof(con->servername));

--PART-BOUNDARY
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
cups-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/cups-bugs

--PART-BOUNDARY--