mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Use user-configured interface speed in traffic recording
This commit is contained in:
parent
1788951f1a
commit
a8b9e7439d
1 changed files with 1 additions and 1 deletions
|
|
@ -352,7 +352,7 @@ function recording_utils.createConfig(ifid, params)
|
|||
-- zmq_endpoint = "tcp://*:5556" -- ZMQ endpoint for stats/flows
|
||||
}
|
||||
|
||||
local ifspeed = (interface.getMaxIfSpeed(ifname) or 1000)
|
||||
local ifspeed = (getInterfaceSpeed(getInterfaceId(ifname)) or 1000)
|
||||
|
||||
-- Reading system memory info
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue