aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2021-04-13 17:00:38 -0700
committerGuy Harris <gharris@sonic.net>2021-04-13 17:00:38 -0700
commitd6c3781a7a43404a740f1fcce836c1c93888c719 (patch)
treeb2abc6c2bbe7762f60501a856888736e0f282cea /tshark.c
parentc9e2d3bc57936b30410a7e6ce91ca6772ac74512 (diff)
Wireshark: fix output of -L and --list-tstamp-types.
Replace the Wireshark code for that with code that matches what TShark does. Update a comment in TShark while we're at it. Fixes #14215. (Still leaves it popping up the full window, but that's a bigger change.)
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tshark.c b/tshark.c
index add186c6de..f5aca45825 100644
--- a/tshark.c
+++ b/tshark.c
@@ -2184,7 +2184,10 @@ main(int argc, char *argv[])
goto clean_exit;
}
- /* if requested, list the link layer types and exit */
+ /*
+ * If requested, list the link layer types and/or time stamp types
+ * and exit.
+ */
if (caps_queries) {
guint i;