deleted protocol type (real-correlated)

This commit is contained in:
Michele Campus
2015-06-29 16:24:51 +02:00
parent 40292a737a
commit 8da7af7b7b
145 changed files with 617 additions and 617 deletions
+4 -4
View File
@@ -30,8 +30,8 @@ static void ndpi_int_spotify_add_connection(struct ndpi_detection_module_struct
u_int8_t due_to_correlation)
{
ndpi_int_add_connection(ndpi_struct, flow,
NDPI_PROTOCOL_SPOTIFY,
due_to_correlation ? NDPI_CORRELATED_PROTOCOL : NDPI_REAL_PROTOCOL);
NDPI_PROTOCOL_SPOTIFY/* , */
/* due_to_correlation ? NDPI_CORRELATED_PROTOCOL : NDPI_REAL_PROTOCOL */);
}
@@ -61,7 +61,7 @@ static void ndpi_check_spotify(struct ndpi_detection_module_struct *ndpi_struct,
packet->payload[6] == 0x52 && packet->payload[7] == 0x0e &&
packet->payload[8] == 0x50 ) {
NDPI_LOG(NDPI_PROTOCOL_SPOTIFY, ndpi_struct, NDPI_LOG_DEBUG, "Found spotify tcp dissector.\n");
ndpi_int_add_connection(ndpi_struct, flow, NDPI_PROTOCOL_SPOTIFY, NDPI_REAL_PROTOCOL);
ndpi_int_add_connection(ndpi_struct, flow, NDPI_PROTOCOL_SPOTIFY/* , NDPI_REAL_PROTOCOL */);
}
@@ -100,7 +100,7 @@ static void ndpi_check_spotify(struct ndpi_detection_module_struct *ndpi_struct,
|| ((ntohl(packet->iph->daddr) & 0xFFFFFC00 /* 255.255.252.0 */) == 0xC284A200 /* 194.132.162.0 */)
) {
NDPI_LOG(NDPI_PROTOCOL_SPOTIFY, ndpi_struct, NDPI_LOG_DEBUG, "Found spotify via ip range.\n");
ndpi_int_add_connection(ndpi_struct, flow, NDPI_PROTOCOL_SPOTIFY, NDPI_REAL_PROTOCOL);
ndpi_int_add_connection(ndpi_struct, flow, NDPI_PROTOCOL_SPOTIFY/* , NDPI_REAL_PROTOCOL */);
return;
}
}