aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2018-12-18 23:47:33 +0100
committerGuy Harris <guy@alum.mit.edu>2018-12-18 23:41:41 +0000
commitafc1265b63cfd3388af2745da9c8a66cb81f2b45 (patch)
tree734f8f0c3fa1a73427ce9788ee1af9a6c373e6a5 /text2pcap.c
parent053f47fdefc9bcb36983129b77b7e1754d4304bb (diff)
writecap: rename pcapng_write_session_block to _section_block
The pcapng file format specification speaks of a secion block, not a session block. Let the function name reflect the proper name of the block it writes. Change-Id: Id399fae3648c93f4750fedaa297b18f95f2bb96f Signed-off-by: Jaap Keuter <jaap.keuter@xs4all.nl> Reviewed-on: https://code.wireshark.org/review/31099 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'text2pcap.c')
-rw-r--r--text2pcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text2pcap.c b/text2pcap.c
index 4d0732329b..1ac2442d31 100644
--- a/text2pcap.c
+++ b/text2pcap.c
@@ -879,7 +879,7 @@ write_file_header (void)
char *comment;
comment = g_strdup_printf("Generated from input file %s.", input_filename);
- success = pcapng_write_session_header_block(output_file,
+ success = pcapng_write_section_header_block(output_file,
comment,
NULL, /* HW */
NULL, /* OS */