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-09-02 08:38:00 +0200
commit69c18bbfd8b929d8dc3e4fd06ae672cc1073e4fb (patch)
treef4dfe3d7a68038ee33b01247b7503c63a6b657a1
parentc347ff881f6abdc44b7aeeb03170a16dec777aae (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
-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 */