bugfix:修复7400和9140编译失败问题

This commit is contained in:
fumingwei
2023-11-24 10:29:56 +08:00
parent d7b82291de
commit bba9c5680e
2 changed files with 5 additions and 3 deletions

View File

@@ -108,7 +108,7 @@ PUBLISH_TOPIC="APP_SIGNATURE_ID"
[qdpi_detector]
debug_swtich=30
intput_max_packet=20
qmdpi_engine_config=injection_mode=stream;nb_workers={{- include "traffic-engine.sapp.workerthread" . }};nb_flows=8000;basic_dpi_enable=1;classification_cache_enable=0;fm_flow_table_alloc_mode=0
qmdpi_engine_config=injection_mode=stream;nb_workers={{ workload_firewall.worker_threads }};nb_flows=8000;basic_dpi_enable=1;classification_cache_enable=0;fm_flow_table_alloc_mode=0
[TSG_DDOS_SKETCH]
debug_swtich=30

View File

@@ -25,14 +25,16 @@ path = "./stellar_plugin/sf_classifier.so"
init = "sf_classifier_init"
exit = "sf_classifier_exit"
{{- if eq .Values.appsketch.qdpi_detector .Values.define_enable_val_yes }}
{{- if and (eq .Values.appsketch.qdpi_detector .Values.define_enable_val_yes) (eq .Values.appsketch.enable .Values.define_enable_val_yes) }}
[[plugin]]
path = "./stellar_plugin/qdpi_detector/qdpi_detector.so"
init = "qdpi_detector_init"
exit = "qdpi_detector_destroy"
{{- end }}
{{- if eq .Values.appsketch.context_based_detector .Values.define_enable_val_yes }}
{{- if and (eq .Values.appsketch.context_based_detector .Values.define_enable_val_yes) (eq .Values.appsketch.enable .Values.define_enable_val_yes) }}
[[plugin]]
path = "./stellar_plugin/context_based_detector.so"
init = "context_based_detector_init"