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