Skip to content

Commit eab8538

Browse files
committed
don't parse cat21, because we only understand v0.23
1 parent d72d532 commit eab8538

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/asterix.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -775,9 +775,9 @@ int index = 0;
775775
log_printf(LOG_ERROR, "ERROR sendto: %s\n", strerror(errno));
776776
}
777777
} else {
778-
if ( ( ((dbp.type & TYPE_C10_TARGET_REPORT) == TYPE_C10_TARGET_REPORT) ||
779-
((dbp.type & TYPE_C10_TARGET_REPORT) == TYPE_C10_START_UPDATE_CYCLE) ) &&
780-
(dbp.plot_type != NO_DETECTION) ) {
778+
if (
779+
(((dbp.type & TYPE_C10_TARGET_REPORT) == TYPE_C10_TARGET_REPORT) && (dbp.plot_type != NO_DETECTION)) ||
780+
((dbp.type & TYPE_C10_START_UPDATE_CYCLE) == TYPE_C10_START_UPDATE_CYCLE) ) {
781781
update_calculations(&dbp);
782782
}
783783
}

src/reader_network.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,8 +1017,9 @@ unsigned long count2_plot_filtered = 0;
10171017
count2_plot_processed++;
10181018
ast_procesarCAT20(ast_ptr_raw + ast_pos + 3, ast_size_datablock, count2_plot_processed, dest_localhost);
10191019
} else if (ast_ptr_raw[ast_pos] == '\x15') {
1020-
count2_plot_processed++;
1021-
ast_procesarCAT21(ast_ptr_raw + ast_pos + 3, ast_size_datablock, count2_plot_processed, dest_localhost);
1020+
// count2_plot_processed++;
1021+
// ast_procesarCAT21(ast_ptr_raw + ast_pos + 3, ast_size_datablock, count2_plot_processed, dest_localhost);
1022+
count2_plot_ignored++;
10221023
} else if (ast_ptr_raw[ast_pos] == '\x22') {
10231024
count2_plot_processed++;
10241025
ast_procesarCAT34(ast_ptr_raw + ast_pos + 3, ast_size_datablock, count2_plot_processed, dest_localhost);

0 commit comments

Comments
 (0)