diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2025-06-03 17:43:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-03 17:43:28 +0200 |
commit | 5e54531282f5cc35d5128a6421397c56498ff36f (patch) | |
tree | f000ff38b6de58783d2e68d37e945c1b4c1f3b6b /example | |
parent | 084f46e6156ae75ef45c882ce37b28e12e506d2c (diff) |
Remove `ndpi_set_proto_defaults()` from the API (#2863)
Add an explicit field to indicate if the protocol is custom or internal
Diffstat (limited to 'example')
-rw-r--r-- | example/ndpiReader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 85ae701dc..0d0f70245 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -753,8 +753,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 %-18s %-31s %-31s \n", - "Id", "Userd-id", "Protocol", "Layer_4", "Nw_Proto", "Breed", "Category","Def UDP Port/s","Def TCP Port/s"); + printf("%3s %8s %-26s %-10s %-8s %-21s %-18s %-31s %-31s %6s\n", + "Id", "Userd-id", "Protocol", "Layer_4", "Nw_Proto", "Breed", "Category","Def UDP Port/s","Def TCP Port/s", "Custom"); num_threads = 1; ndpi_dump_protocols(ndpi_str, stdout); |