diff options
author | Till Kampetter <till.kampetter@gmail.com> | 2016-08-09 18:11:35 +0200 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2019-09-02 08:38:00 +0200 |
commit | 69c18bbfd8b929d8dc3e4fd06ae672cc1073e4fb (patch) | |
tree | f4dfe3d7a68038ee33b01247b7503c63a6b657a1 | |
parent | c347ff881f6abdc44b7aeeb03170a16dec777aae (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.c | 2 |
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 */ |