Skip to content

Commit

Permalink
Add allowed site category
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuele-f committed May 6, 2019
1 parent e99a0ab commit ea1ea99
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/include/ndpi_typedefs.h
Original file line number Diff line number Diff line change
@@ -808,6 +808,7 @@ typedef enum {
CUSTOM_CATEGORY_ADVERTISEMENT = 101,
CUSTOM_CATEGORY_BANNED_SITE = 102,
CUSTOM_CATEGORY_SITE_UNAVAILABLE = 103,
CUSTOM_CATEGORY_ALLOWED_SITE = 104,

/*
IMPORTANT
3 changes: 2 additions & 1 deletion src/lib/ndpi_main.c
Original file line number Diff line number Diff line change
@@ -423,7 +423,8 @@ static const char* categories[] = {
"Malware",
"Advertisement",
"Banned_Site",
"Site_Unavailable"
"Site_Unavailable",
"Allowed_Site",
};

/* ****************************************** */

0 comments on commit ea1ea99

Please sign in to comment.