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