]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Do not use host names for broadcasting print queues and 32/head
authorTill Kampetter <till.kampetter@gmail.com>
Tue, 9 Aug 2016 16:11:35 +0000 (18:11 +0200)
committerDidier Raboud <odyx@debian.org>
Wed, 4 Nov 2020 16:42:43 +0000 (17:42 +0100)
 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
Patch-Name: do-not-broadcast-with-hostnames.patch

scheduler/conf.c

index 0730e2defe6d0aaf468022e430268f91798714a5..755cef536dcb15f0bd2895e5102225362db70eac 100644 (file)
@@ -899,7 +899,7 @@ cupsdReadConfiguration(void)
     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 */