Error again fixed

This commit is contained in:
pavanvpatil 2022-10-30 09:34:58 +05:30 committed by GitHub
parent 8b22a3a67e
commit 9fbe63af48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -87,6 +87,7 @@ gboolean attack_detect_freq(struct data_frame *df)
bring->AVERAGE_OF_FREQUENCY = 50; bring->AVERAGE_OF_FREQUENCY = 50;
bring->COUNT = 500; bring->COUNT = 500;
bring->idcode = to_intconvertor(df->idcode); bring->idcode = to_intconvertor(df->idcode);
bring->next = NULL;
previous->next = bring; previous->next = bring;
return TRUE; return TRUE;
} }
@ -185,6 +186,7 @@ gboolean attack_detect_vol(struct data_frame *df)
bring->COUNT = 500; bring->COUNT = 500;
previous->next = bring; previous->next = bring;
bring->idcode = to_intconvertor(df->idcode); bring->idcode = to_intconvertor(df->idcode);
bring->next = NULL;
return TRUE; return TRUE;
} }
} }