summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTill Kampetter <till.kampetter@gmail.com>2016-08-09 18:11:35 +0200
committerDidier Raboud <odyx@debian.org>2019-05-17 12:49:57 +0200
commite036753602d4b1b6ca4999fd9086d810e03da7fd (patch)
treea681f7ab77bb8c454a3711f1657e1ac8236a5b18
parentd16b5d7ec036bcc3bf0510093c20a9cbfd72a8be (diff)
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 Patch-Name: do-not-broadcast-with-hostnames.patch Gbp-Pq: Name do-not-broadcast-with-hostnames.patch
-rw-r--r--scheduler/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scheduler/conf.c b/scheduler/conf.c
index bb4f9d215..b73d33f93 100644
--- a/scheduler/conf.c
+++ b/scheduler/conf.c
@@ -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 */