2007-02-14 18:00:11 +00:00
|
|
|
--- cups-1.2.8/conf/cupsd.conf.in.directed-broadcast 2006-04-23 22:46:38.000000000 +0100
|
|
|
|
+++ cups-1.2.8/conf/cupsd.conf.in 2007-02-14 17:44:51.000000000 +0000
|
|
|
|
@@ -20,6 +20,7 @@
|
2006-10-05 15:38:40 +00:00
|
|
|
# Show shared printers on the local network.
|
|
|
|
Browsing On
|
|
|
|
BrowseOrder allow,deny
|
|
|
|
+# (Change '@LOCAL' to 'ALL' if using directed broadcasts from another subnet.)
|
|
|
|
BrowseAllow @LOCAL
|
|
|
|
|
|
|
|
# Default authentication type, when authentication is required...
|
2007-02-14 18:00:11 +00:00
|
|
|
--- cups-1.2.8/cups/adminutil.c.directed-broadcast 2007-02-11 16:59:33.000000000 +0000
|
|
|
|
+++ cups-1.2.8/cups/adminutil.c 2007-02-14 17:47:04.000000000 +0000
|
|
|
|
@@ -1278,7 +1278,11 @@
|
2006-10-05 15:38:40 +00:00
|
|
|
cupsFilePuts(temp, "BrowseOrder allow,deny\n");
|
|
|
|
|
2007-02-14 18:00:11 +00:00
|
|
|
if (remote_printers > 0)
|
2006-10-05 15:38:40 +00:00
|
|
|
+ {
|
|
|
|
+ cupsFilePuts(temp, "# (Change '@LOCAL' to 'ALL' if using "
|
|
|
|
+ "directed broadcasts from another subnet.)\n");
|
|
|
|
cupsFilePuts(temp, "BrowseAllow @LOCAL\n");
|
|
|
|
+ }
|
|
|
|
|
2007-02-14 18:00:11 +00:00
|
|
|
if (share_printers > 0)
|
2006-10-05 15:38:40 +00:00
|
|
|
cupsFilePuts(temp, "BrowseAddress @LOCAL\n");
|