Run ntopng on the bridge interface when running in bridge mode as appliance

This commit is contained in:
Alfredo Cardigliano 2020-11-27 16:43:31 +01:00
parent 5ab1e6dacb
commit d19db6b678
7 changed files with 77 additions and 12 deletions

View file

@ -75,7 +75,9 @@ if table.len(_POST) > 0 then
if config_found then
sys_config:setDisabledWans(disabled_wans)
sys_config:setInterfacesConfiguration(interfaces_config)
sys_config:setDhcpFromLan()
if is_nedge then
sys_config:setDhcpFromLan()
end
sys_config:save()
end
end