mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fix vlan as wan interfaces
This commit is contained in:
parent
c74151d21b
commit
76c2696dcb
3 changed files with 15 additions and 3 deletions
|
|
@ -40,7 +40,7 @@ if (_POST["lan_interfaces"] ~= nil) and (_POST["wan_interfaces"] ~= nil) then
|
|||
-- Add to the list of gateways if not already present
|
||||
local wan_ifaces = sys_config:getWanInterfaces()
|
||||
for _, wan_iface in ipairs(wan_ifaces) do
|
||||
sys_config:addGateway(wan_iface)
|
||||
sys_config:addGateway(wan_iface, wan_iface)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue