summaryrefslogtreecommitdiffstats
path: root/text2pcap.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-26 17:44:25 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-26 17:44:25 +0000
commitf59ea5f7690c9a01ef6f7f6508084a66c40b1dae (patch)
tree482ee255d71f113be6c62e9ff3543fd6ebb9f12a /text2pcap.c
parentReleasing progress-linux version 4.2.2-1.1~progress7.99u1. (diff)
downloadwireshark-f59ea5f7690c9a01ef6f7f6508084a66c40b1dae.tar.xz
wireshark-f59ea5f7690c9a01ef6f7f6508084a66c40b1dae.zip
Merging upstream version 4.2.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'text2pcap.c')
-rw-r--r--text2pcap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/text2pcap.c b/text2pcap.c
index aa3a279f..e1df716a 100644
--- a/text2pcap.c
+++ b/text2pcap.c
@@ -480,6 +480,7 @@ parse_options(int argc, char *argv[], text_import_info_t * const info, wtap_dump
case 'P':
hdr_export_pdu = TRUE;
+ wtap_encap_type = WTAP_ENCAP_WIRESHARK_UPPER_PDU;
info->payload = ws_optarg;
break;