aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/ndpi_api.h4
-rw-r--r--src/lib/ndpi_content_match.c.inc2
-rw-r--r--src/lib/ndpi_main.c4
3 files changed, 6 insertions, 4 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h
index e08fafe1d..b380c8b03 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -122,7 +122,7 @@ extern "C" {
* @return the initialized detection module
*
*/
- struct ndpi_detection_module_struct *ndpi_init_detection_module();
+ struct ndpi_detection_module_struct *ndpi_init_detection_module(void);
/**
* Frees the memory allocated in the specified flow
@@ -605,7 +605,7 @@ ndpi_protocol ndpi_l4_detection_process_packet(struct ndpi_detection_module_stru
* @return The requested automata, or NULL if an error occurred
*
*/
- void* ndpi_init_automa();
+ void* ndpi_init_automa(void);
/**
diff --git a/src/lib/ndpi_content_match.c.inc b/src/lib/ndpi_content_match.c.inc
index 10d09ef49..56928f7e3 100644
--- a/src/lib/ndpi_content_match.c.inc
+++ b/src/lib/ndpi_content_match.c.inc
@@ -178,6 +178,7 @@ static ndpi_network host_protocol_list[] = {
13.107.3.129/32
111.221.64.0 - 111.221.127.255
91.190.216.0/21 (AS198015 Skype Communications Sarl)
+ 91.190.218.0/24
40.126.129.109/32
65.55.223.0/26
*/
@@ -192,6 +193,7 @@ static ndpi_network host_protocol_list[] = {
{ 0x0D6B0381 /* 13.107.3.129 */, 32, NDPI_PROTOCOL_SKYPE },
{ 0x6FDD4000 /* 111.221.64.0 */, 18, NDPI_PROTOCOL_SKYPE },
{ 0x5BBED800 /* 91.190.216.0 */, 21, NDPI_PROTOCOL_SKYPE },
+ { 0x5BBEDA00 /* 91.190.218.0 */, 24, NDPI_PROTOCOL_SKYPE },
{ 0x287F816D /* 40.126.129.109 */, 32, NDPI_PROTOCOL_SKYPE },
{ 0x4237DF00 /* 65.55.223.0 */, 26, NDPI_PROTOCOL_SKYPE },
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 046a480d4..c2610ffe9 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -1722,7 +1722,7 @@ void set_ndpi_debug_function(struct ndpi_detection_module_struct *ndpi_str, ndpi
/* ******************************************************************** */
-struct ndpi_detection_module_struct *ndpi_init_detection_module() {
+struct ndpi_detection_module_struct *ndpi_init_detection_module(void) {
struct ndpi_detection_module_struct *ndpi_str = ndpi_malloc(sizeof(struct ndpi_detection_module_struct));
if(ndpi_str == NULL) {
@@ -1777,7 +1777,7 @@ struct ndpi_detection_module_struct *ndpi_init_detection_module() {
/* *********************************************** */
/* Wrappers */
-void* ndpi_init_automa() {
+void* ndpi_init_automa(void) {
return(ac_automata_init(ac_match_handler));
}