deleted useless function - change macro name

This commit is contained in:
Campus
2017-03-15 18:42:44 +01:00
parent 5de6a96af5
commit 3add72c686
4 changed files with 69 additions and 83 deletions
+2 -2
View File
@@ -4097,7 +4097,7 @@ void ndpi_int_change_protocol(struct ndpi_detection_module_struct *ndpi_struct,
void ndpi_int_reset_packet_protocol(struct ndpi_packet_struct *packet) {
int a;
for(a = 0; a < NDPI_PROTOCOL_HISTORY_SIZE; a++)
for(a = 0; a < NDPI_PROTOCOL_SIZE; a++)
packet->detected_protocol_stack[a] = NDPI_PROTOCOL_UNKNOWN;
}
@@ -4105,7 +4105,7 @@ void ndpi_int_reset_protocol(struct ndpi_flow_struct *flow) {
if(flow) {
int a;
for(a = 0; a < NDPI_PROTOCOL_HISTORY_SIZE; a++) {
for(a = 0; a < NDPI_PROTOCOL_SIZE; a++) {
flow->detected_protocol_stack[a] = NDPI_PROTOCOL_UNKNOWN;
}
}