Skip to content

Commit e6c7c96

Browse files
committed
ipfixprobe.cpp ctt refactor
1 parent 9c349c0 commit e6c7c96

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ipfixprobe.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,10 @@ bool process_plugin_args(ipxp_conf_t &conf, IpfixprobeOptParser &parser)
358358
if (storage_plugin == nullptr) {
359359
throw IPXPError("invalid storage plugin " + storage_name);
360360
}
361+
#ifdef WITH_CTT
362+
const auto& [device, comp_idx] = input_plugin->get_ctt_config();
363+
storage_plugin->set_ctt_config(device, comp_idx);
364+
#endif /* WITH_CTT */
361365
storage_plugin->set_queue(output_queue);
362366
storage_plugin->init(storage_params.c_str());
363367
storage_plugin->set_telemetry_dir(pipeline_queue_dir);

0 commit comments

Comments
 (0)