Removed commented code

Renamed ndpi_int_add_connection() with ndpi_set_detected_protocol()
This commit is contained in:
Luca
2015-07-01 16:45:29 +02:00
parent 857020c475
commit 07ebed7fae
143 changed files with 343 additions and 343 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ static void ndpi_check_netflow(struct ndpi_detection_module_struct *ndpi_struct,
if(((version == 1) && (when == 0))
|| ((when >= 946684800 /* 1/1/2000 */) && (when <= now))) {
NDPI_LOG(NDPI_PROTOCOL_NETFLOW, ndpi_struct, NDPI_LOG_DEBUG, "Found netflow.\n");
ndpi_int_add_connection(ndpi_struct, flow, NDPI_PROTOCOL_NETFLOW/* , NDPI_REAL_PROTOCOL */);
ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_NETFLOW);
return;
}
}