diff --git a/config.php.default b/config.php.default index 2f30e48ce..8dbe127f6 100755 --- a/config.php.default +++ b/config.php.default @@ -87,6 +87,7 @@ $config['int_l2tp'] = 0; # Enable L2TP Port Types $config['show_locations'] = 1; # Enable Locations on menu $config['show_services'] = 1; # Enable Services on menu +$config['show_printers'] = 0; # Enable Printers Device Type on menu $config['ports_page_default'] = "details/"; # Default devices ports page display type. "details/", "graphs/bits/", etc diff --git a/discovery.php b/discovery.php index 09e0bb38b..7caffcbde 100755 --- a/discovery.php +++ b/discovery.php @@ -142,6 +142,11 @@ while ($device = mysql_fetch_array($device_query)) { if ($device['type'] == "unknown") { $device['type'] = 'firewall'; } } + if ($device['os'] == "dell-laser") + { + if ($device['type'] == "unknown") { $device['type'] = 'printer'; } + } + $update_query = "UPDATE `devices` SET "; $update_query .= " `last_discovered` = NOW(), `type` = '" . $device['type'] . "'"; $update_query .= " WHERE `device_id` = '" . $device['device_id'] . "'"; diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index 07de735be..a105cd007 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -50,6 +50,14 @@
  • Servers
  • Network
  • Firewalls
  • + +
  • Printers
  • +

  • Alerts ()
  • @@ -62,6 +63,7 @@ echo("
    +