aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorRavi Kerur <ravi.kerur@viasat.com>2019-09-21 10:16:10 -0700
committerRavi Kerur <ravi.kerur@viasat.com>2019-09-21 10:16:10 -0700
commitd92015a0921c6cefd29c3ea7aa29e6994659f951 (patch)
tree36e3a3408845932d5b8139a6e8fe113d7846548d /example
parente2e05cd499d9f3c71dbe3ef15a59d3ad1befdd84 (diff)
parent5c2e4957925845281595755e56978fb1d4a18760 (diff)
Merge branch 'dev' of https://github.com/ntop/nDPI into ndpi_icmp
Diffstat (limited to 'example')
-rw-r--r--example/ndpiReader.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index b24e61091..90e1b0d4f 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -414,7 +414,8 @@ static void help(u_int long_help) {
#endif
if(long_help) {
- printf("\n\nSupported protocols:\n");
+ printf("\n\nnDPI supported protocols:\n");
+ printf("%3s %-22s %-12s %s\n", "Id", "Protocol", "Breed", "Category");
num_threads = 1;
ndpi_dump_protocols(ndpi_info_mod);
}