mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fixes scope for nEdge system_config functions
This commit is contained in:
parent
21a009c653
commit
28cc873d43
2 changed files with 6 additions and 6 deletions
|
|
@ -398,7 +398,7 @@ function appliance_config:_guess_config()
|
|||
netmask = "255.255.255.0"
|
||||
else
|
||||
-- The device has an IP address
|
||||
local addresses = getAllInterfaceAddresses(a)
|
||||
local addresses = system_config.getAllInterfaceAddresses(a)
|
||||
for _, addr in pairs(addresses) do
|
||||
if addr.ip == ip_devs[a] then
|
||||
netmask = addr.netmask
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue