]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - backend/snmp.c
Load cups into easysw/current.
[thirdparty/cups.git] / backend / snmp.c
index 4a90f2ebc09db5d6457cbde811e9f99473a61068..c1af7cefcc4a5cdef700dc4d3c5a0e6580ca60f5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: snmp.c 5898 2006-08-28 18:54:10Z mike $"
+ * "$Id: snmp.c 5976 2006-09-20 22:46:15Z mike $"
  *
  *   SNMP discovery backend for the Common UNIX Printing System (CUPS).
  *
@@ -1728,12 +1728,14 @@ probe_device(snmp_cache_t *device)      /* I - Device */
   debug_printf("DEBUG: %.3f Probing %s...\n", run_time(), device->addrname);
 
   if (device->make_and_model &&
-      (!strncasecmp(device->make_and_model, "Xerox", 5) ||
-       !strncasecmp(device->make_and_model, "Kyocera", 7)))
+      (!strncasecmp(device->make_and_model, "Kyocera", 7) ||
+       !strncasecmp(device->make_and_model, "Lexmark", 7) ||
+       !strncasecmp(device->make_and_model, "Tektronix", 9) ||
+       !strncasecmp(device->make_and_model, "Xerox", 5)))
   {
    /*
-    * Xerox and Kyocera printers often lock up on IPP probes, so exclude
-    * them from the IPP connection test...
+    * Kyocera, Lexmark, Tektronix, and Xerox printers often lock up on
+    * IPP probes, so exclude them from the IPP connection test...
     */
 
     http = NULL;
@@ -2452,5 +2454,5 @@ update_cache(snmp_cache_t *device,        /* I - Device */
 
 
 /*
- * End of "$Id: snmp.c 5898 2006-08-28 18:54:10Z mike $".
+ * End of "$Id: snmp.c 5976 2006-09-20 22:46:15Z mike $".
  */