Tim Waugh 8399d8
diff -up cups-1.4.4/scheduler/network.c.hostnamelookups cups-1.4.4/scheduler/network.c
Tim Waugh 8399d8
--- cups-1.4.4/scheduler/network.c.hostnamelookups	2010-04-09 23:42:09.000000000 +0100
Tim Waugh 8399d8
+++ cups-1.4.4/scheduler/network.c	2010-06-18 11:13:02.331979867 +0100
Tim Waugh 8399d8
@@ -154,11 +154,7 @@ cupsdNetIFUpdate(void)
Tim Waugh f8156d
     * Try looking up the hostname for the address as needed...
Tim Waugh f8156d
     */
Tim Waugh f8156d
 
Tim Waugh 8399d8
-#ifdef __APPLE__
Tim Waugh 8399d8
     if (HostNameLookups)
Tim Waugh 8399d8
-#else
Tim Waugh f8156d
-    if (HostNameLookups || RemotePort)
Tim Waugh 8399d8
-#endif /* __APPLE__ */
Tim Waugh f8156d
       httpAddrLookup((http_addr_t *)(addr->ifa_addr), hostname,
Tim Waugh f8156d
                      sizeof(hostname));
Tim Waugh f8156d
     else
Tim Waugh 8399d8
@@ -166,7 +162,7 @@ cupsdNetIFUpdate(void)
Tim Waugh f8156d
      /*
Tim Waugh f8156d
       * Map the default server address and localhost to the server name
Tim Waugh f8156d
       * and localhost, respectively; for all other addresses, use the
Tim Waugh f8156d
-      * dotted notation...
Tim Waugh f8156d
+      * numeric address...
Tim Waugh f8156d
       */
Tim Waugh f8156d
 
Tim Waugh f8156d
       if (httpAddrLocalhost((http_addr_t *)(addr->ifa_addr)))