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 09:14:43 +0200 |
commit | 245d5342ebcb6b21a0ce4a6f9a3ec833499fdb49 (patch) | |
tree | 28503727adae83ec61a20e0c8d76bf2a889ba63f | |
parent | c5ef20c6a91e1c94bcfd5dd66b9bfcc86bffb741 (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.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 */ |