aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorJohn Thacker <johnthacker@gmail.com>2022-02-25 07:49:51 -0500
committerJohn Thacker <johnthacker@gmail.com>2022-02-25 20:29:16 -0500
commit939972800e04c1f7707ef632135ccdc392d4c423 (patch)
tree2d92a3a298f52665804f5e606f4eb03ee905c36a /tshark.c
parentcbf76ea22f60a76084bd2bbb59042cb73a57afa5 (diff)
Strip Headers: Add separate menu dialog, tshark help
Add a separate menu for Strip Headers (similar to Export PDU, but exporting to an encapsulation other than WIRESHARK_UPPER_PDU everything for that encapsulation). Add to the usage output of tshark for the "-U" option which encapsulation a export tap will produce.
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tshark.c b/tshark.c
index 3971fac16f..fc3060a88d 100644
--- a/tshark.c
+++ b/tshark.c
@@ -323,11 +323,11 @@ list_read_capture_types(void)
static void
list_export_pdu_taps(void)
{
- fprintf(stderr, "tshark: The available export tap names for the \"-U tap_name\" option are:\n");
+ fprintf(stderr, "tshark: The available export tap names and the encapsulation types they produce for the \"-U tap_name\" option are:\n");
for (GSList *export_pdu_tap_name_list = get_export_pdu_tap_list();
export_pdu_tap_name_list != NULL;
export_pdu_tap_name_list = g_slist_next(export_pdu_tap_name_list)) {
- fprintf(stderr, " %s\n", (const char*)(export_pdu_tap_name_list->data));
+ fprintf(stderr, " %s - %s\n", (const char*)(export_pdu_tap_name_list->data), wtap_encap_description(export_pdu_tap_get_encap((const char*)export_pdu_tap_name_list->data)));
}
}