File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -604,5 +604,12 @@ void NHTFlowCache::prefetch_export_expired() const
604604 __builtin_prefetch (m_flow_table[i], 0 , 1 );
605605 }
606606}
607+ #ifdef WITH_CTT
608+ void NHTFlowCache::set_ctt_config (const std::string& device_name, unsigned comp_index) override ;
609+ {
610+ m_ctt_device = device_name;
611+ m_ctt_comp_index = comp_index;
612+ }
613+ #endif /* WITH_CTT */
607614
608615}
Original file line number Diff line number Diff line change @@ -118,10 +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) {
122- m_ctt_device = device_name;
123- m_ctt_comp_index = comp_index;
124- }
121+ void set_ctt_config (const std::string& device_name, unsigned comp_index) override ;
125122 std::string m_ctt_device;
126123 unsigned m_ctt_comp_index;
127124 CttController m_ctt_controller;
You can’t perform that action at this time.
0 commit comments