[VS] Add the initialization of max num scans pref.

This commit is contained in:
Nicolo Maio 2023-10-27 11:54:44 +02:00
parent 22bc1be6f9
commit a1637a5777
4 changed files with 9 additions and 1 deletions

View file

@ -635,7 +635,7 @@ if auth.has_capability(auth.capabilities.preferences) then
prefsInputFieldPrefs(subpage_active.entries["vs_concurrently_scan_number"].title,
subpage_active.entries["vs_concurrently_scan_number"].description, "ntopng.prefs.",
"host_to_scan_max_num_scans", 4, "number",
"host_to_scan_max_num_scans", prefs.host_to_scan_max_num_scans or 4, "number",
true, false, nil, {
min = 1,
max = 16