File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -673,10 +673,10 @@ void NHTFlowCache::prefetch_export_expired() const
673673 }
674674}
675675#ifdef WITH_CTT
676- void NHTFlowCache::set_ctt_config (const std::string& device_name, unsigned comp_index )
676+ void NHTFlowCache::set_ctt_config (const std::string& device_name, unsigned channel_id )
677677{
678678 m_ctt_device = device_name;
679- m_ctt_comp_index = comp_index;
679+ m_ctt_comp_index = comp_index/ 16 ;
680680}
681681#endif /* WITH_CTT */
682682
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ class NHTFlowCache : TelemetryUtils, public StoragePlugin
118118 FlowRecordStats m_flow_record_stats = {};
119119 FlowCacheStats m_cache_stats = {};
120120#ifdef WITH_CTT
121- void set_ctt_config (const std::string& device_name, unsigned comp_index ) override ;
121+ void set_ctt_config (const std::string& device_name, unsigned channel_id ) override ;
122122 std::string m_ctt_device;
123123 unsigned m_ctt_comp_index;
124124 CttController m_ctt_controller;
You can’t perform that action at this time.
0 commit comments