mirror of https://gitee.com/openkylin/cups.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 Gbp-Pq: Name 0023-Do-not-use-host-names-for-broadcasting-print-queues-.patch
This commit is contained in:
parent
71b6027aa8
commit
472a97d25d
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue