Use user-configured interface speed in traffic recording

This commit is contained in:
emanuele-f 2018-11-12 16:35:49 +01:00
parent 1788951f1a
commit a8b9e7439d

View file

@ -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