Added default port mappings to ndpiReader help -H (#2477)

Close #2125
This commit is contained in:
Mark Jeffery
2024-06-19 13:47:18 +02:00
committed by GitHub
parent 9feede9a14
commit aa1d7247d1
2 changed files with 42 additions and 5 deletions
+2 -2
View File
@@ -709,8 +709,8 @@ static void help(u_int long_help) {
sizeof(((struct ndpi_flow_struct *)0)->protos));
printf("\n\nnDPI supported protocols:\n");
printf("%3s %8s %-22s %-10s %-8s %-12s %s\n",
"Id", "Userd-id", "Protocol", "Layer_4", "Nw_Proto", "Breed", "Category");
printf("%3s %8s %-22s %-10s %-8s %-12s %-18s %-31s %-31s \n",
"Id", "Userd-id", "Protocol", "Layer_4", "Nw_Proto", "Breed", "Category","Def UDP Port/s","Def TCP Port/s");
num_threads = 1;
ndpi_dump_protocols(ndpi_str, stdout);