mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Move local broadcast domain preference to the interface settings and show warnings
A dismissable warning is shown if DHCP traffic has been seen on the currrent interface.
This commit is contained in:
parent
cd77a1707e
commit
14a9d83a30
16 changed files with 130 additions and 31 deletions
|
|
@ -1006,16 +1006,6 @@ function printMisc()
|
|||
subpage_active.entries["toggle_host_mask"].description,
|
||||
h_labels, h_values, "0", "primary", "toggle_host_mask", "ntopng.prefs.host_mask")
|
||||
|
||||
|
||||
multipleTableButtonPrefs(subpage_active.entries["toggle_host_tskey"].title,
|
||||
subpage_active.entries["toggle_host_tskey"].description,
|
||||
{i18n("ip_address"), i18n("mac_address")}, {"0", "1"},
|
||||
"0",
|
||||
"primary",
|
||||
"serialize_local_broadcast_hosts_as_macs",
|
||||
"ntopng.prefs.serialize_local_broadcast_hosts_as_macs", nil,
|
||||
elementToSwitch, showElementArray, javascriptAfterSwitch, showElement)
|
||||
|
||||
prefsToggleButton(subpage_active, {
|
||||
field = "toggle_arp_matrix_generation",
|
||||
default = "0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue