Support store_modules config (default true)

This commit is contained in:
Oliver Gorwits
2013-08-26 17:49:35 +01:00
parent 02c471f583
commit 47e7fe3468
5 changed files with 15 additions and 22 deletions

View File

@@ -72,7 +72,7 @@ sub discover {
store_wireless($device, $snmp);
store_vlans($device, $snmp);
store_power($device, $snmp);
store_modules($device, $snmp);
store_modules($device, $snmp) if setting('store_modules');
discover_new_neighbors($device, $snmp);
# if requested, and the device has not yet been arpniped/macsucked, queue now