summaryrefslogtreecommitdiff
path: root/debian/patches/do-not-broadcast-with-hostnames.patch
blob: cadf1784bbb4f1010276c69dfc6a676937c6bf65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Do not use host names for broadcasting print queues and
 managing print queues broadcasted from other servers by default. Many
 networks do not have valid host names for all machines.
Bug-Ubuntu: https://bugs.launchpad.net/bugs/449586
Author: till.kamppeter@gmail.com

--- a/scheduler/conf.c
+++ b/scheduler/conf.c
@@ -864,7 +864,7 @@
     cupsdAddAlias(ServerAlias, temp);
     cupsdLogMessage(CUPSD_LOG_DEBUG, "Added auto ServerAlias %s", temp);
 
-    if (HostNameLookups || RemotePort)
+    if (HostNameLookups)
     {
       struct hostent	*host;		/* Host entry to get FQDN */