From: Till Kampetter Date: Tue, 9 Aug 2016 16:11:35 +0000 (+0200) Subject: Do not use host names for broadcasting print queues and X-Git-Tag: v2.3.3op1~37^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcf2aa5da21e4caed3f71c86c2f1ddf0032ccd9e;p=thirdparty%2Fcups.git 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 --- diff --git a/scheduler/conf.c b/scheduler/conf.c index 0730e2defe..755cef536d 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 */