diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2018-12-18 23:47:33 +0100 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-12-18 23:41:41 +0000 |
commit | afc1265b63cfd3388af2745da9c8a66cb81f2b45 (patch) | |
tree | 734f8f0c3fa1a73427ce9788ee1af9a6c373e6a5 /dumpcap.c | |
parent | 053f47fdefc9bcb36983129b77b7e1754d4304bb (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 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3027,7 +3027,7 @@ capture_loop_init_pcapng_output(capture_options *capture_opts, loop_data *ld) GString *cpu_info_str = g_string_new(""); get_cpu_info(cpu_info_str); - successful = pcapng_write_session_header_block(ld->pdh, + successful = pcapng_write_section_header_block(ld->pdh, (const char *)capture_opts->capture_comment, /* Comment */ cpu_info_str->str, /* HW */ os_info_str->str, /* OS */ |