Skip to content

Commit

Permalink
Fix the default value of SNMP polling preference.
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoMaio committed Mar 13, 2024
1 parent 0c6512b commit 0f08d90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Prefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Prefs::Prefs(Ntop *_ntop) {
#endif
enable_runtime_flows_dump = true;
enable_activities_debug = false;
snmp_polling = false;
snmp_polling = true;
active_monitoring = false;
vs_max_num_scans = 4;
vs_slow_scan = false;
Expand Down Expand Up @@ -930,7 +930,7 @@ void Prefs::reloadPrefsFromRedis() {
enable_flow_device_port_rrd_creation = getDefaultBoolPrefsValue(CONST_RUNTIME_PREFS_FLOW_DEVICE_PORT_RRD_CREATION, false),
disable_alerts = getDefaultBoolPrefsValue(CONST_ALERT_DISABLED_PREFS, false),
enable_activities_debug = getDefaultBoolPrefsValue(CONST_ACTIVITIES_DEBUG_ENABLED, false),
snmp_polling = getDefaultBoolPrefsValue(CONST_PREFS_ENABLE_SNMP_POLLING, false);
snmp_polling = getDefaultBoolPrefsValue(CONST_PREFS_ENABLE_SNMP_POLLING, true);
active_monitoring = getDefaultBoolPrefsValue(CONST_PREFS_ENABLE_ACTIVE_MONITORING, false);

enable_arp_matrix_generation =
Expand Down

0 comments on commit 0f08d90

Please sign in to comment.