Error again fixed
This commit is contained in:
parent
8b22a3a67e
commit
9fbe63af48
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue