mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fix captive portal issue when moving a device to the default pool
This commit is contained in:
parent
5b4aa461d9
commit
d2deb32105
4 changed files with 15 additions and 9 deletions
|
|
@ -9,6 +9,7 @@ require "lua_utils"
|
|||
require "prefs_utils"
|
||||
require "blacklist_utils"
|
||||
local template = require "template_utils"
|
||||
local have_nedge2 = haveNedge2()
|
||||
|
||||
if(ntop.isPro()) then
|
||||
package.path = dirs.installdir .. "/scripts/lua/pro/?.lua;" .. package.path
|
||||
|
|
@ -363,7 +364,7 @@ function printBridgingPrefs()
|
|||
|
||||
print('<table class="table">')
|
||||
|
||||
if show_advanced_prefs then
|
||||
if show_advanced_prefs and not have_nedge2 then
|
||||
print('<tr><th colspan=2 class="info">'..i18n("traffic_policy")..'</th></tr>')
|
||||
|
||||
prefsToggleButton({
|
||||
|
|
@ -1096,7 +1097,7 @@ if(tab == "discovery") then
|
|||
end
|
||||
|
||||
if(tab == "bridging") then
|
||||
if(info["version.enterprise_edition"]) then
|
||||
if(info["version.enterprise_edition"] or have_nedge2) then
|
||||
printBridgingPrefs()
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue