mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 02:16:39 +00:00
Flow dissection code cleanup.
The Flow API is now composed of the following methods:
- Flow::setDetectedProtocol to manually set a protocol on the flow
and terminate the dissection
- Flow::processPacket to run the nDPI dissection on the raw packets
- Flow::endProtocolDissection to terminate or give up the dissection
Also fixes the flow sampling rate preference, which was never used.
This commit is contained in:
parent
14202b7c9b
commit
15898e8dad
10 changed files with 181 additions and 154 deletions
|
|
@ -25,7 +25,7 @@ local syslog_module = {
|
|||
},
|
||||
}
|
||||
|
||||
local external_stats_key = getRedisIfacePrefix(interface.getId())..'.external_stats'
|
||||
local external_stats_key = "ntopng.prefs.ifid_"..tostring(interface.getId())..'.external_stats'
|
||||
|
||||
-- #################################################################
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue