mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fix nedge system setup toggles (do not use redis)
This commit is contained in:
parent
8c80fe895d
commit
cf2a9eff59
6 changed files with 11 additions and 9 deletions
|
|
@ -152,9 +152,9 @@ local function printWanLikeConfig(if_name, if_id, ifconf, bridge_interface, rout
|
|||
description = i18n("nedge.enable_interface_descr"),
|
||||
content = "",
|
||||
field = "iface_on_" .. if_id,
|
||||
redis_prefix = "",
|
||||
default = ternary(not disabled_wans[if_name], "1", "0"),
|
||||
to_switch = nil,
|
||||
local_store = true, -- do not store on redis
|
||||
})
|
||||
end
|
||||
|
||||
|
|
@ -225,9 +225,9 @@ local function printWanLikeConfig(if_name, if_id, ifconf, bridge_interface, rout
|
|||
description = i18n("nedge.enable_nat_descr"),
|
||||
content = "",
|
||||
field = "iface_nat_" .. if_id,
|
||||
redis_prefix = "",
|
||||
default = ternary(ifconf.masquerade, "1", "0"),
|
||||
to_switch = nil,
|
||||
local_store = true, -- do not store on redis
|
||||
})
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue