aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2017-11-22 19:34:28 +0000
committerJoão Valverde <j@v6e.pt>2017-11-23 01:18:02 +0000
commit2add5e701f3d7e397ef46f144e206fe4c127e9cb (patch)
tree2eff5942b6ee9f0473cfbf1c9adc4d6ccf4ce6da
parentf5bc86df043d93bb76226f0bbb2c4ef5613f226e (diff)
make-dissectors: Print the number of functions successfully parsed
Change-Id: I7364571ddc9b86efd41dcade97f843037e09f0ac Reviewed-on: https://code.wireshark.org/review/24541 Reviewed-by: João Valverde <j@v6e.pt>
-rw-r--r--epan/dissectors/make-dissectors.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/make-dissectors.c b/epan/dissectors/make-dissectors.c
index b023da7..8872667 100644
--- a/epan/dissectors/make-dissectors.c
+++ b/epan/dissectors/make-dissectors.c
@@ -136,6 +136,8 @@ int main(int argc, char **argv)
printf(" { NULL, NULL }\n"
"};\n");
+ fprintf(stderr, "Found %u registrations and %u handoffs.\n", protos->len, handoffs->len);
+
g_regex_unref(protos_regex);
g_regex_unref(handoffs_regex);