summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTill Kampetter <till.kampetter@gmail.com>2016-08-09 18:11:35 +0200
committerDidier Raboud <odyx@debian.org>2018-06-08 15:11:05 +0200
commit26b164635989c9de18114ba0393d1e179d15307c (patch)
tree5905e1decc267a51084e3ca222d71a6a13360216
parent31e4faf8c67aea1d6adf263d4577a46aa9a556b3 (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 27f7b14a8..8227a476b 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 */