Skip to content

Commit

Permalink
Fix confidentials level list.
Browse files Browse the repository at this point in the history
  • Loading branch information
vel21ripn committed Jul 9, 2024
1 parent d71bc1b commit d824fc1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ndpi-netfilter/ipt/libxt_ndpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,9 @@ static void ndpi_mt_init(struct xt_entry_match *match)
NDPI_BITMASK_RESET(info->flags);
}
static char *_clevel2str[] = {
"unknown", "port", "ip", "user",
"nbpf", "dpart", "dcpart", "dcache", "dpi" };
"unknown", "port", "ip", "nbpf",
"dpart", "dcpart", "dcache", "dpi", "dpi_spec", "user"
};

#define clevel2num (sizeof(_clevel2str)/sizeof(_clevel2str[0]))

Expand Down Expand Up @@ -703,7 +704,7 @@ ndpi_mt_help(void)
" --host str Match server host name\n"
" Use /str/ for regexp match.\n"
" --clevel L Match confidence level. -L - level < L, +L - level > L\n"
" Levels: unknown,port,ip,user,nbpf,dpart,dcpart,dcache,dpi\n"
" Levels (low-high) : unknown,port,ip,nbpf,dpart,dcpart,dcache,dpi,dpi_spec,user\n"
" --risk risklist Match if at least one of the listed risks is present.\n"
" risklist - risk numbers separated by commas.\n"
" --have-master Match if master protocol detected\n"
Expand Down

0 comments on commit d824fc1

Please # to comment.