Blame cups-directed-broadcast.patch
|
|
93ad2ef |
--- cups-1.2.4/conf/cupsd.conf.in.directed-broadcast 2006-10-05 12:33:08.000000000 +0100
|
|
|
93ad2ef |
+++ cups-1.2.4/conf/cupsd.conf.in 2006-10-05 12:33:04.000000000 +0100
|
|
|
93ad2ef |
@@ -21,6 +21,7 @@
|
|
|
93ad2ef |
# Show shared printers on the local network.
|
|
|
93ad2ef |
Browsing On
|
|
|
93ad2ef |
BrowseOrder allow,deny
|
|
|
93ad2ef |
+# (Change '@LOCAL' to 'ALL' if using directed broadcasts from another subnet.)
|
|
|
93ad2ef |
BrowseAllow @LOCAL
|
|
|
93ad2ef |
|
|
|
93ad2ef |
# Default authentication type, when authentication is required...
|
|
|
93ad2ef |
--- cups-1.2.4/cups/adminutil.c.directed-broadcast 2006-10-05 12:16:48.000000000 +0100
|
|
|
93ad2ef |
+++ cups-1.2.4/cups/adminutil.c 2006-10-05 12:19:29.000000000 +0100
|
|
|
93ad2ef |
@@ -1155,7 +1155,11 @@
|
|
|
93ad2ef |
cupsFilePuts(temp, "BrowseOrder allow,deny\n");
|
|
|
93ad2ef |
|
|
|
93ad2ef |
if (remote_printers)
|
|
|
93ad2ef |
+ {
|
|
|
93ad2ef |
+ cupsFilePuts(temp, "# (Change '@LOCAL' to 'ALL' if using "
|
|
|
93ad2ef |
+ "directed broadcasts from another subnet.)\n");
|
|
|
93ad2ef |
cupsFilePuts(temp, "BrowseAllow @LOCAL\n");
|
|
|
93ad2ef |
+ }
|
|
|
93ad2ef |
|
|
|
93ad2ef |
if (share_printers)
|
|
|
93ad2ef |
cupsFilePuts(temp, "BrowseAddress @LOCAL\n");
|