summaryrefslogtreecommitdiff
path: root/scheduler
diff options
context:
space:
mode:
authorTill Kampetter <till.kampetter@gmail.com>2016-08-09 18:11:35 +0200
committerDidier Raboud <odyx@debian.org>2017-11-02 15:50:35 +0100
commit9044c9f05f07a2cf464efaade5c99aa07d7621ca (patch)
treea2c3090ad008a3c318011c54003ec119f624e0d6 /scheduler
parentfe2bda0d1beb7462b28c3042dc341230e7df4b49 (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
Diffstat (limited to 'scheduler')
-rw-r--r--scheduler/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scheduler/conf.c b/scheduler/conf.c
index ea3175217..ab98e1c7d 100644
--- a/scheduler/conf.c
+++ b/scheduler/conf.c
@@ -898,7 +898,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 */