Blob Blame History Raw
--- cups-1.2.12/conf/cupsd.conf.in.directed-broadcast	2006-04-23 22:46:38.000000000 +0100
+++ cups-1.2.12/conf/cupsd.conf.in	2007-07-13 10:02:06.000000000 +0100
@@ -20,6 +20,7 @@
 # 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...
--- cups-1.2.12/cups/adminutil.c.directed-broadcast	2007-07-06 23:39:54.000000000 +0100
+++ cups-1.2.12/cups/adminutil.c	2007-07-13 10:03:15.000000000 +0100
@@ -1288,7 +1288,12 @@
 	  cupsFilePuts(temp, "BrowseOrder allow,deny\n");
 
 	  if (new_remote_printers)
+	  {
+	    cupsFilePuts(temp,
+			 "# (Change '@LOCAL' to 'ALL' if using "
+			 "directed broadcasts from another subnet.)\n");
 	    cupsFilePuts(temp, "BrowseAllow @LOCAL\n");
+	  }
 
 	  if (new_share_printers)
 	    cupsFilePuts(temp, "BrowseAddress @LOCAL\n");