mirror of
https://github.com/optim-enterprises-bv/nDPId.git
synced 2025-11-02 03:07:49 +00:00
Disconnect nDPIsrvd clients immediately instead waiting for a failed write().
* nDPIsrvd: Collector/Distributor logging improved * nDPIsrvd: Command line option for max remote descriptors * nDPId: Stop spamming nDPIsrvd Collector with the same events over and over again * nDPId: Refactored some variable names and events Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
@@ -231,7 +231,7 @@ def onJsonLineRecvd(json_dict, instance, current_flow, global_user_data):
|
||||
instance_and_source += '[{}][{}][{:.>2}] '.format(
|
||||
TermColor.setColorByString(instance.alias),
|
||||
TermColor.setColorByString(instance.source),
|
||||
json_dict['thread_id'])
|
||||
json_dict['thread_id'] if 'thread_id' in json_dict else '')
|
||||
else:
|
||||
instance_and_source += ' '
|
||||
|
||||
|
||||
Reference in New Issue
Block a user