summaryrefslogtreecommitdiff
path: root/debian/patches/do-not-broadcast-with-hostnames.patch
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2019-09-02 13:19:56 +0200
committerDidier Raboud <odyx@debian.org>2019-09-02 13:19:56 +0200
commite24870dbda03aab6098aa3ed3209136c0d100ed4 (patch)
tree756acf27d9f2d36cb22d8a61c213943290b165f9 /debian/patches/do-not-broadcast-with-hostnames.patch
parenta50ef39f953764fa59550beab1af18d03f5d3750 (diff)
Commit patch queue (exported by git-debrebase)debian/2.3.0-1archive/debian/2.3.0-1
[git-debrebase make-patches: export and commit patches]
Diffstat (limited to 'debian/patches/do-not-broadcast-with-hostnames.patch')
-rw-r--r--debian/patches/do-not-broadcast-with-hostnames.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/do-not-broadcast-with-hostnames.patch b/debian/patches/do-not-broadcast-with-hostnames.patch
new file mode 100644
index 000000000..339a35266
--- /dev/null
+++ b/debian/patches/do-not-broadcast-with-hostnames.patch
@@ -0,0 +1,26 @@
+From: Till Kampetter <till.kampetter@gmail.com>
+Date: Tue, 9 Aug 2016 18:11:35 +0200
+Subject: 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
+---
+ scheduler/conf.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/scheduler/conf.c b/scheduler/conf.c
+index bb4f9d2..b73d33f 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 */
+