]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - cups/patches/cups-hostnamelookups.patch
cups: Update to latest stable release 1.6.1.
[people/ms/ipfire-3.x.git] / cups / patches / cups-hostnamelookups.patch
diff --git a/cups/patches/cups-hostnamelookups.patch b/cups/patches/cups-hostnamelookups.patch
deleted file mode 100644 (file)
index 75b6abf..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -up cups-1.4.4/scheduler/network.c.hostnamelookups cups-1.4.4/scheduler/network.c
---- cups-1.4.4/scheduler/network.c.hostnamelookups     2010-04-09 23:42:09.000000000 +0100
-+++ cups-1.4.4/scheduler/network.c     2010-06-18 11:13:02.331979867 +0100
-@@ -154,11 +154,7 @@ cupsdNetIFUpdate(void)
-     * Try looking up the hostname for the address as needed...
-     */
--#ifdef __APPLE__
-     if (HostNameLookups)
--#else
--    if (HostNameLookups || RemotePort)
--#endif /* __APPLE__ */
-       httpAddrLookup((http_addr_t *)(addr->ifa_addr), hostname,
-                      sizeof(hostname));
-     else
-@@ -166,7 +162,7 @@ cupsdNetIFUpdate(void)
-      /*
-       * Map the default server address and localhost to the server name
-       * and localhost, respectively; for all other addresses, use the
--      * dotted notation...
-+      * numeric address...
-       */
-       if (httpAddrLocalhost((http_addr_t *)(addr->ifa_addr)))