Fixed warning

Reworked protocol initialization
This commit is contained in:
Luca Deri
2016-02-27 09:00:02 +01:00
parent 6df31099c2
commit 20374b542d
5 changed files with 47 additions and 35 deletions
-12
View File
@@ -18,18 +18,6 @@
*
*/
typedef struct {
char *string_to_match, *proto_name;
int protocol_id;
ndpi_protocol_breed_t protocol_breed;
} ndpi_protocol_match;
typedef struct {
u_int32_t network;
u_int8_t cidr;
u_int8_t value;
} ndpi_network;
/* ****************************************************** */
static ndpi_network host_protocol_list[] = {